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 » How to use droplist and switch
Re: How to use droplist and switch [message #10955 is a reply to message #10897] Tue, 07 August 2007 14:53 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
The problem is that you are calling CtrlLayout AFTER you have configured the controls. Move the CtrlLayout call to the fist line in the contructor and it works fine (you may also need to make the switch bigger).

CtrlLayout will override all changes you have made to the form, so you should always call it first (unless you're using it to reset a window).

James.
 
Read Message
Read Message
Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon6.gif
Read Message
Read Message icon14.gif
Previous Topic: howto force evaluation after <CR>
Next Topic: "ScrollArea"...
Goto Forum:
  


Current Time: Wed May 01 05:13:10 CEST 2024

Total time taken to generate the page: 0.02620 seconds