Can you replicate the problem with this example code? http://seriss.com/people/erco/fltk/#TabsExample
A common mistake is to position the widget outside the bounds of the group such that it doesn't draw correctly, making it appear to misbehave. Make sure your input widget is well within the bounds of its parent group. If you're still not sure, send us a complete compilable example (similar to the above) so that we can copy/paste your code and build it to see the problem. Sometimes you'll find the problem while distilling your program down into something simple, which is why I often start with known working simple examples, and then work my way up. Michael Schmid wrote: > Hi all! > > --> FLTK 1.1.9 > > I have the following problem: > > I have Fl_Tabs with several groups in it. And all those groups contain > several widgets. This works fine! > > In one of those groups I have a Fl_Input. Before showing the Fl_Tabs, I > give the Fl_Input already a initialvalue (by setting value() ). If I > click on the tab which contains the Fl_Input, everything is fine, but > there's no value in this Fl_Input! The strange thing is that I don't > change the value meanwhile (As far as I can see). And I'm also 100% sure > that the Fl_Input got the value because I tested this with > "printf(InputWidget->value());". > > If I set the value manually after the group is shown, then the value > appears inside the Fl_Input... > > Is there any known problem/bug which could have to do with that? Or is > my approch wrong? > > I could easily do a workaround, but I think normaly it should work the > way I'm trying it...? > > Thanks! > Michael _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

