Login Page - Create Account

Support Board


Date/Time: Mon, 23 Jun 2025 06:03:17 +0000



Post From: SetCustomStudyControlBarButtonEnable()

[2022-03-03 21:16:13]
Richard Chinn - Posts: 35
Is the SetCustomStudyControlBarButtonEnable() function supposed to change the look of the button as well as the state?

I have a code snippet that sets the enabled state to disabled or enabled depending on a flag.
I can see my snippet works because I change the button color and tooltip text when I change the enabled state but the look of the button does not change.
In other words the button only shows in the up position regardless of the enabled state when I set the state programmatically.
However; the button works correctly and looks correct when I push the button manually.
I've scanned through the documentation and support board but I can't find any other functions that would change the look of the button.