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

Reply via email to