Sorry, I just type it fast I mean the 2nd tab and not the number 2! 2009/8/21 imacarthur <[email protected]>
> > On 21 Aug 2009, at 20:30, Isaque Galdino wrote: > > > 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? > > As Isaque says, use the value() method. Note that this is described > in the docs, too, but using a different parameter than Isaque said: > > "Fl_Widget* Fl_Tabs::value() > int Fl_Tabs::value(Fl_Widget*) > > Gets or sets the currently visible widget/tab." > > > > In a brief test with fltk 1.1.10, Isaque's method fails to compile, > but the documented method works just fine, so I'm thinking that is > your answer... > > > > > > > > > > > _______________________________________________ > 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

