Thanks for the patch -- I'll take a look into this some time this week. Whatever is implemented, it should follow the pattern of behavior defined in Fl_Browser and friends (In this case, Fl_Multi_Browser).
In Fl_Multi_Browser, the default is to trigger the callback on mouse button release, and if "when(FL_WHEN_CHANGED)" is set, it triggers the callback whenever a row changes selection state, even during a drag. Verified Fl_Browser works this way, but Fl_Table_Row does not, so this does need to be fixed. On 03/08/13 13:07, David FLEURY wrote: > Le 08/03/2013 20:13, David FLEURY a écrit : >> Hi, >> >> I am using a Fl_Table_Row with SELECT_SINGLE mode (base on table exemple). >> >> I did not succeed to have my callback called when the selection change >> on mouse drag (the user keep the mouse down on a selected line and move >> over the table to change the active selection). >> >> Looking into Fl_Table.cxx around lines 861, when damage_zone is called, >> there is no do_callback call. >> >> How can my callback be called on selection change for my case ? >> >> Regards, >> David > > > I join a patch for a simple way to change this behaviour. > If someone has something better, I take it. > (patch over svn branch 1.3) _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

