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 #10812 is a reply to message #10808] Tue, 31 July 2007 11:19 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
comm_type.SetLabel("UDP\nTCP");

or
comm_type.Add("UDP").Add("TCP");

or
comm_type.Add(0, "UDP").Add(1, "TCP");

Will all work.

I would guess that you haven't made the Switch ctrl large enough in the Layout Designer (it does not resize automatically) and so you cannot see the other opptions.

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: Mon Aug 25 09:05:04 CEST 2025

Total time taken to generate the page: 0.06315 seconds