> > On 26.05.2011, at 04:42, newbie2 wrote: > > > Im trying to make a spreadsheet-like program using a derived Fl_Table = > widget, with most of the other callbacks and widgets of the program = > generated by FLUID. > >=20 > > However, mouse events on the table makes it redraw only some cells = > (The ones that would normally be selected if there was a selection = > behavior in the callbacks), even without any callbacks set. Furthermore, = > if I try to show widgets over the table, (to edit the cells in my = > spreadsheet program, just like in the example) the widget doesn't show = > on screen, but is active (input and callbacks works). The Fl_Table = > examples don't behave like that, and I couldn't find which setting (or = > code part) enables/disables such behavior looking at the examples and at = > my own derived class. > >=20 > > Which option (or programming construct) commands this kind of = > behavior? > > This is really hard to say because the test cases that I have (the = > sample programs) work. Can you create a short program that show this = > behavior and tell us on which platform, so we can test it and fix it? = > Thanks!= >
After looking at my code and at the examples again I narrowed down the issue to an invalid box() parameter (a *_BOX instead of a *_FRAME) which made the table's background draw above the widget I wanted to show and other parts of the table. Sorry for the inconvenience and thanks for your time. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

