DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2729
Version: 1.3-current


When the value is edited via the keyboard the callback does not get called.
The line in Fl_Sinner.H that reads
 
input_.when(FL_WHEN_ENTER_KEY | FL_WHEN_RELEASE);

needs to be changed to read
 
input_.when(FL_WHEN_ENTER_KEY | FL_WHEN_RELEASE | FL_WHEN_CHANGED);

Now the callback gets executed after a keyboard edit (as it should).


IIRC 1.1.x exhibited the same behavior.


Link: http://www.fltk.org/str.php?L2729
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to