Home » U++ Library support » U++ Widgets - General questions or Mixed problems » ButtonOption has no disabled state? [solved w/ ::Disable()]
ButtonOption has no disabled state? [solved w/ ::Disable()] [message #11908] |
Sun, 30 September 2007 21:43 |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |
|
|
Got ButtonOption control on my layout. Say, it`s called stopButton.
I want to make it disabled (grayed and not responding to user input).
None of this:
- stopButton.SetEditable(false);
- stopButton.SetReadOnly();
worked.
How to make ButtonOption disabled?
P.S. Looked into sources:
void ButtonOption::LeftDown(Point, dword) {
push = true;
Refresh();
} And it seems like there`s no checking for enabled/disabled state.
[Updated on: Sun, 30 September 2007 22:04] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Apr 25 11:38:59 CEST 2024
Total time taken to generate the page: 0.02682 seconds
|