on 08-09-2007 5:55 PM
Hi,
Can any one please suggest as to how to enable or disable Action Button dynamically without binding the "Enable" property of a the button to a context attribute?
Thanks and Regards,
Smriti
Hi Smriti,
When you create a Button you must to assign a action to this button. Enabling or disabling this action will disabe the button. you can do this by code:
You have a action called Cancel
wdThis.wdGetCancelAction().setEnabled(true/false);
Regards,
Luciano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Either you can disable the action itself (which will disable all UI elements using this action automatically) or bind the "enabled" property of the UI element to a boolean context attribute and set the attribute value to "false".
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.