> I created a Fl_Choice instance and populated 5 items with the 
> .add method. Now, in my app when some other feature is 
> selected, I like to still keep the same quantity of items in 
> the Fl_Choice object but change the names of the 5 items. How 
> do I do that?

Fl_Choice derives from Fl_Menu_ so of course all its methods apply...

Possibly Fl_Menu_::replace() will do what you want? It allows to update
the text of a menu item, and that sounds like what you are trying to do.


SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to