Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bluetooth support?
Next Topic: ButtonOption bug? Centering QTF string
Goto Forum:
  


Current Time: Wed Jun 05 20:04:51 CEST 2024

Total time taken to generate the page: 0.01459 seconds