on 10-25-2010 10:59 AM
Hello all,
I need to open the form of a user-defined object upon a click on a LinkButton. To do this, I Activate() the corresponding menu, then Activate() the Find menu, enter the document number into the appropriate EditText and press the "Find" button.
The problem is that when entering the "Add" mode, the UDO performs initialization of some fields, so that if one tries to enter the "Find" mode, the following system message appears in a modal window and stops the execution of the code:
"Changes will cause the data to be deleted. Continue?"
Is there a way to temporarily disable this message to enable the addon to open the UDO form without any interference from the user?
Thanks in advance,
Anton
Expect you know if on the UDO form is some initialization of fields and if the message will pops up.
If you have form with this message, you may after activating 1281 menuitem (find) send enter key with sendkeys and the message will be confirmed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.