On 01.12.2010 11:33, Paul R wrote:

I don't want to duplicate Ian's reply, hence I do only comment this:

> [...] in another function i used to
> quickly tab through fields entering the values without looking but now
> i have to get the focus back in field with mouse or more tabs after
> each number entered

I don't understand what you mean here. How do you "tab through fields 
... without looking" ? Do you use cursor (arrow) keys? If yes, then...
yes, this has changed in FLTK 1.3.  The horizontal arrow keys don't
move to the next or previous widget any more by default.

If you want the old behavior, you need to set a new option, but...
well, I don't think that we can _set_ the option right now. You can
only read it :-( . You can use

   bool arrow_focus = Fl::option(Fl::OPTION_ARROW_FOCUS)

to read the option value (which should be false).

You can only change it by editing the file fltk.prefs like this:

----- snip -----
; FLTK preferences file format 1.0
; vendor: fltk.org
; application: fltk

[.]

ArrowFocus:1
; NativeFilechooser:0

[./options]

ArrowFocus:1
; NativeFilechooser:0
----- snip -----

Note: the first two option lines are needed for the current FLTK 1.3
version (svn r 7930), but I think that the lines below [./options]
should be correct (you'll need them later). I filed STR #2463
concerning this problem.

This file should reside in your user preferences directory, but that
is system-dependent. On Linux, it is in ~/.fltk/fltk.org/, but on
Windows it's somewhere in your USER/APPDATA directory.

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

Reply via email to