[EMAIL PROTECTED] wrote on 29.03.2007 19:06:28: > Reiner Wenke wrote: > > Hi, > > > > I use a adapted version of the singleinput test program (Fl_Table widget > > addon). > > The only modification was removing the value sliders. > > If I use only one table in a window, everything is fine. > > But for my application I need two of them and I'm not able to implement > > this. > > > > Has anyone a hint for me, how this can be done? > > Doesn't the 'testtablerow' that comes with Fl_Table show two tables? > > Give us a simple *compilable* code example a page or so long > to show us what you're doing to create the two tables.
Yes, 'testtablerows' shows two tables, but you can't use it for interactive input to the cells, which I need for my program. 'testtablerows' has this two callback lines in the main part of the program: table1.callback(table_cb, (void*)&table1); table2.callback(table_cb, (void*)&table2); I didn't find any similar way for the 'singleinput' program to do this. At the moment I'm not experienced enough to find an easy way to solve the problem. It may be possible to duplicate the "SingleInput" class and all associated functions, but I'm shure that there is a simpler solution. Best regards Reiner _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

