> > Try using an Fl_Return_Button instead of a regular button. > Spacebar is normally the keynav way to trigger a button when it has > focus. > When you want the Enter key to do it, us an Fl_Return_Button. > > See also: the 'ask' program in the test directory, > which shows how the enter key works in a dialog. > Ok thanks for the advice, i noticed the spacebar works that way yes, and i suppose i could just advise the user in the help file. I will try the return button though.
_______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk