User Button: After clicking, possible the button state be showed as activated?
Posted: 28 Mar 2017 02:54
Hi,
I'm testing user buttons with commands that have a state (activated/deactivated).
For instance, I added in a custom button a simple command #668 (show tree) as showed in this snapshot: http://i.imgur.com/1yurWcK.png
However, when I click on the button, although the command is activated, the button state doesn't change.
In comparison, the default XYplorer button to show tree, when pressed, changes the state to activated (the button becomes hollow).
How to set the user button to show the current state (activated it becomes hollow / deactivated it is showed normal, shallow, without visual identification)?
Thanks for info!
Cadu
I'm testing user buttons with commands that have a state (activated/deactivated).
For instance, I added in a custom button a simple command #668 (show tree) as showed in this snapshot: http://i.imgur.com/1yurWcK.png
However, when I click on the button, although the command is activated, the button state doesn't change.
In comparison, the default XYplorer button to show tree, when pressed, changes the state to activated (the button becomes hollow).
How to set the user button to show the current state (activated it becomes hollow / deactivated it is showed normal, shallow, without visual identification)?
Thanks for info!
Cadu