U++ framework
Do not panic. Ask here before giving up.

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: Tue Nov 03 23:49:47 GMT+1 2026

Total time taken to generate the page: 0.38090 seconds