Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DropList proposal
Re: DropList proposal [message #25919 is a reply to message #25918] |
Fri, 19 March 2010 21:22   |
|
Maybe refresh method of Ctrl work?
If you want to re-enable drop list the the state of ctrls need to change to initial state!
Mindtraveller wrote on Fri, 19 March 2010 21:37 | I've noticed that if DropList has any SubButtons and it's parent control is disabled, it's buttons still look enabled. I tried adding these lines to public section of DropList, but it didn't help:
void Enable (bool enable = true) {for(int i=0;i<GetButtonCount();++i) GetButton(i).Enable(enable); Ctrl::Enable(enable);}
void Disable() {Enable(false);}
|
[Updated on: Fri, 19 March 2010 21:23] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Jun 07 21:52:29 CEST 2025
Total time taken to generate the page: 0.05183 seconds
|