on 03-31-2014 12:23 PM
Is there any possibility to dynamically disable and enable a button within a GUIBB form? In its simplest form I want to disable (make invisible) a button, when another button is pushed. So I have an event that is caught in process_event. Now I need to access the GUIBB, access its button and make it invisible.
Best regards,
Thomas
Hi Thomas,
Try to use method GET_DATA. Buttons properties can be changed via CT_ACTION_USAGE parameter (don't forget to set flag EV_ACTION_USAGE_CHANGED).
Kind regards, Aliaksandr.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
You don't have to access GUIBB seperately if you raise an event thourgh the button which belongs from the same GUIBB. Then try to use method GET_DATA and all the buttons properties( Enable/Disable , Visible/Invisible ) can be changed from changing parameter CT_ACTION_USAGE, finally set the flag EV_ACTION_USAGE_CHANGED.
Thanks
Praveen Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.