>
> > >
> > > However, you might find it more convenient to
> > > lay out all the boxes at the beginning, then
> > > just show() or hide() them in the callback.
>
> > Thanks a lot, and how could I do that with show() and hide()???
> > I mean the Fl_Box parameter transfer problem.
> >
>
> I should mention... the point is that you probably don't
> want to create new widgets every time the user checks the
> check box, which is what your original code snippet was
> doing.  You just want a single instance of each box, which
> is either visible or not depending on the state of the
> check box.

Hi Stan,

Thanks for sending that.

Originally, my application should allow the user check the Check_Box always, 
not just one single instance.

your suggestions are very valuable.

Thanks

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

Reply via email to