Re: using keys in windows
- Posted by wolfgang fritz <wolfritz at king.igs.net> Aug 13, 2000
- 493 views
procedure do_arrow_key( integer key, integer shift ) if key = VK_LEFT then --do whatever... if key = VK_UP then -- do whatever else... if key = VK_RIGHT then -- do this... if key = VK_DOWN then -- do the last... onKeyDown[ control_with_focus ] = routine_id("do_arrow_key") > Does anyone know how to use the arrow keys with win32lib > I've tried onKeyPress, and onKeyDown but can't get it to work > any suggestions would be great help.