David Lopez wrote: > Hi. > I am using FLUID to create few different types of tabbed dialogs. > All dialogs are pretty similar but some tabs don't apply for some dialog > types. > So, I would like to know if there is any simple way to programatically > destroy or completely hide the unwanted tabs in order to create only one > class in FLUID. > Any idea is wellcome.
That should be easy. Create your dialog with Fl_Tabs in fluid. Then, at runtime you can remove or even delete the unused tabs, e.g. if you want to remove the 3rd tab group, that would be child(2): Fl_Group *c2 = tabs->child(2); // just to save it for later tabs->remove(c2); // remove it If you want to add it later, do something like: tabs->insert (c2,2); // insert as 3rd child again Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

