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 #10815 is a reply to message #10808] |
Tue, 31 July 2007 12:14   |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
bonami wrote on Tue, 31 July 2007 03:47 |
i've got a switch in .lay, which can be assigned only one value. i try to add more in my main function with all methods as follows, but never achieved.
|
If I understand you correctly, you want to add more switch values with the layout designer. You can achieve that with "Set label" by adding more lines (preess Enter).
Alternatively, you can copy this layout (I suppose you know how to use Ctrl_T):
LAYOUT(SwitchButtonLay, 400, 200)
ITEM(Switch, swt_1, SetLabel(t_("&Opt1\nO&pt2")).LeftPosZ(28, 104).TopPosZ(12, 17))
END_LAYOUT
Then you can change vertical-horizontal layout simply by resizing with a mouse (changing ratio)
|
|
|
 |
|
How to use droplist and switch
|
 |
|
Re: How to use droplist and switch
By: mirek on Sat, 18 March 2006 08:54
|
 |
 |
Re: How to use droplist and switch
By: bonami on Tue, 31 July 2007 04:47
|
 |
|
Re: How to use droplist and switch
By: mrjt on Tue, 31 July 2007 11:19
|
 |
|
Re: How to use droplist and switch
By: bonami on Wed, 01 August 2007 07:46
|
 |
|
Re: How to use droplist and switch
By: mirek on Wed, 01 August 2007 18:05
|
 |
|
Re: How to use droplist and switch
By: bonami on Thu, 02 August 2007 03:06
|
 |
|
Re: How to use droplist and switch
|
 |
|
Re: How to use droplist and switch
By: dmcgeoch on Thu, 02 August 2007 13:34
|
 |
 |
Re: How to use droplist and switch
By: bonami on Fri, 03 August 2007 04:19
|
 |
|
Re: How to use droplist and switch
By: mrjt on Tue, 07 August 2007 14:53
|
 |
 |
Re: How to use droplist and switch
By: bonami on Wed, 08 August 2007 08:57
|
Goto Forum:
Current Time: Mon Aug 25 11:34:12 CEST 2025
Total time taken to generate the page: 0.05905 seconds
|