Hi, I have a directbutton which needs to lock at hover state if a variable is true, also I need the button to return to it´s normal behavior if the variable is False. How can I do this?
The behavior I want is similar to DGG.DISABLE, with the difference which the button geom would be for the hover state instead.
Thanks in advance for any help
I don’t think a DirectButton is designed to do this. However, you could have a DirectFrame which has the same look as the DirectButton in its hover state. Most of the time, this other frame is hidden. When you want to “lock” the button into its hover state, then hide the button and show the frame. When you want to restore the button to its normal state, then show the button and hide the frame.