Re: Scrolling a Window

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu