Hello everybody,
I need to have two different pictures in a "StateButtonTool" for the pressed and the unpressed state. The "StateButtonTool" is under control of a "UltraToolbarsManager".
The red oval should be only one "StateButtonTool". With the designer there is no way to set different pictures. But maybe there is a way to do this at runtime.
Has anybody done this already?
Thank you very much for any help!
Best regards
Frank
Dear Hristo,
yes, setting the pressed picture in the "PressedApperance -> image" works fine and solves perfectly my requirement.
Thank you very much indeed.
Hello,
You could use PressedAppearance object in order to determine the appearance of StateButtonTool when it is in pressed state (StateButtonTool.ShareProps.AppearancesSmall. PressedAppearance ).
Please let me know if you have any further questions.