View Single Post
  #1  
Old 06-27-2006, 05:11 AM
_Z3phyr_ _Z3phyr_ is offline
Banned
Join Date: Sep 2003
Location: Louisiane
Posts: 390
_Z3phyr_ is an unknown quantity at this point
onKeyDown, onKeyUp

I'm trying to learn how to do GUI stuff, but I haven't been able to master the onKeyDown and onKeyUp events... can someone gimme a working example or explain wtf a scancode and all that stuff is?

Quote:
Originally Posted by wiki
onKeyDown(keycode,keystring,scancode) - a key has been pressed while the control had the input focus (makeFirstResponder())

onKeyUp(keycode,keystring,scancode) - the key has been released
keycode is obvious, same as GS1 I assume, but wtf is the other stuff and how does it work?



to ApothiX -> outstanding edit, sir!

Last edited by _Z3phyr_; 06-27-2006 at 08:34 AM..
Reply With Quote