Re: Scrolling a Window
- Posted by petelomax at blueyonder.co.uk Sep 09, 2002
- 389 views
On Mon, 09 Sep 2002 12:25:26 -0400, Ron Tarrant <rtarrant at sympatico.ca> wrote: >window and I'm getting keyCodes for most keys, but not for the Tab key. Derek partially answered this, but I found I had to use: --==code begins==-- oldcodes=setTabCodes(0) -- save std/disable tab handling procedure onGotFocus_MAIN() void=setTabCodes(0) -- let me handle tab when main has focus end procedure procedure onLostFocus_MAIN() voidsetTabCodes(oldcodes) -- restore std tab handling end procedure onGotFocus[MAIN] routine_id("onGotFocus_MAIN") onLostFocus[MAIN] routine_id("onLostFocus_MAIN") --==code ends===-- Depends on how complex your program & tab handling requirements are. HTH, Pete