Greg Ercolano wrote:
>     Curious how you feel about a global 'normal key nav' option
>     eg. Fl::normal_key_nav() which:
> 
>        a) changes tab behavior
> 
>        b) prevents left/right edit keys from accidentally key nav'ing
>           into other fields, so that only Tab/ShiftTab will shift fields

   Oh, it looks like we have (b) already:

         Fl::option(OPTION_ARROW_FOCUS)

   ..which is documented as:

      /// When switched on, moving the text cursor beyond the start or end of
      /// a text in a text widget will change focus to the next text widgt.
      /// When switched off, the cursor will stop at the end of the text.
      /// Pressing Tab or Ctrl-Tab will advance the keyboard focus.

   I vaguely remember this being discussed recently, and noticed it now
   while testing my mods to Fl_Input.. neat!

   It might stand to reason therefor, in the spirit of this flag
   there should maybe be an OPTION_STRICT_TAB_FOCUS (or some such)
   which would handle (a), but in our case, having the default be off
   for 1.3, with release notes indicating the default would be 'on'
   in a future 1.4 (as per Albrecht's suggestion in this thread).
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to