Thanks for the solution. Its work for me. * Thanks & Regards, Rajesh Kumar P *
On Wed, Dec 12, 2012 at 5:21 PM, Greg Ercolano <[email protected]> wrote: > On 12/12/12 02:30, Rajesh Kumar wrote: > > In a frame I am having a choice box. I am filling the choice > > box with add(value, 0) method. The first value which I am adding is > visable > > at the time of entering the frame. > > > > But when I adding values in any other callback, it is not > > showing, but values are coming in dropdown. > > It sounds like you just need to call the value() method with > the index# of the item you want to display, eg. choicebox.value(3) > would make the third item in your chooser visible. > > fltk::Choice derives from fltk::Menu which has the add() and > value() > public methods, eg: > > http://fltk.org/doc-2.0/html/classfltk_1_1Menu.html#a9dcbe8e404d22b0ab83b16c463c30001 > > > _______________________________________________ > fltk mailing list > [email protected] > http://lists.easysw.com/mailman/listinfo/fltk > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

