>> Try calling   Fl::visible_focus(0);  somewhere near the start
>> of your program and see if that helps or not...

> .... and for the arrow keys, you can try to disable their focus
> changing property by calling

>    Fl::option(OPTION_ARROW_FOCUS, 0);

> but this ought to be the default anyway in the latest FLTK versions,
> unless you changed it in fluid's "edit/Global FLTK settings" menu.
> If you did, you should probably set all options back to "default".

Tried these suggestions. The only change I'm seeing is that tapping the space 
bar no longer activates the current widget. That's a tiny improvement. I still 
can't get the space bar to act as a keyboard shortcut.

Nor can I get the arrow keys to act as keyboard shortcuts. All they do is move 
the cursor through whatever text fields are visible. This occurs even if they 
are text output widgets.

Fl::option(OPTION_ARROW_FOCUS, 0);  is incorrect syntax. I'm guessing it should 
be Fl_Option. When I make that change I can compile as long as there is only 
one calling argument. The permutations below compile but don't change the 
behavior of my code.

Fl::Fl_Option (OPTION_ARROW_FOCUS);   or
Fl::Fl_Option (0);

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

Reply via email to