On May 20, 2004, at 9:21 PM, John Reed wrote:
> How can I get the focus set on a FXMainWindow that is just basically a=20=
> FXTable widget with no input capable fields? I=92ve got a menu =
attached=20
> to it and I want the user to be able to do a Ctrl-N to add a new=20
> record to the database without having to click on the panel first.
What happens when you call setFocus() on the table widget? Does it not=20=
receive the keyboard focus?
You might also want to check out the standard FOX documentation on=20
focus handling, found here:
http://www.fox-toolkit.com/focus.html
and then follow up with questions on the foxgui-users mailing list (or=20=
to Jeroen directly).
|