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 WithDropChoice?
Re: How to use WithDropChoice? [message #12939 is a reply to message #12933] Thu, 29 November 2007 14:35 Go to previous message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Oh, this is really easy to handle.

WithDropChoice<EditField> fldProduct;

Add(lblProduct.SetText("Produkt:").SetAlign(ALIGN_RIGHT).RightPos(270, 150).TopPos(top, 20));
Add(fldProduct.RightPos(10, 250).TopPos(top, 20));
fldProduct.SetText(product);
fldProduct.ClearList();
fldProduct.AddList("product1");
fldProduct.AddList("product2");
fldProduct.AddList("product3");

Sometimes it would be easier if there would be an example in every manual-entry.

Thanks

Michael
 
Read Message
Read Message
Read Message
Previous Topic: Using RichEdit in dialog
Next Topic: ArrayCtrl with labels / layouts inside ?
Goto Forum:
  


Current Time: Sun Jun 16 17:10:41 CEST 2024

Total time taken to generate the page: 0.02400 seconds