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 #10815 is a reply to message #10808] Tue, 31 July 2007 12:14 Go to previous messageGo to previous message
fudadmin is currently offline  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)
 
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: Mon Aug 25 11:34:12 CEST 2025

Total time taken to generate the page: 0.05905 seconds