Use: tabs->value(2);

2009/8/21 Todd Plessel <[email protected]>

>
> Hi,
>
> I'm using FLTK Tabs.
> Is there a routine that will select a specific tab and force it to be
> displayed and active?
>
> I've tried calling show() on the group associated with the specific
> tab, but it does nothing:
>
> Fl_Tabs* const tabs = new Fl_Tabs( ... );
>   Fl_Group* const mapGroup = new Fl_Group( ... );
>   ...
>   Fl_Group* const dataGroup = new Fl_Group( ... );
>   ...
> tabs->end();
> ...
>
>
> dataGroup->show(); // Does not cause the second tab to appear.
>
> Thanks for your help,
>
> Todd
>
>
>
> _______________________________________________
> fltk mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk
>



-- 
Isaque Galdino
"sic enim dilexit Deus mundum ut Filium suum unigenitum daret ut omnis qui
credit in eum non pereat sed habeat vitam aeternam" -- Iohannes 3:16
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to