[Gambas-user] keycode

johnf jfabiani at ...1109...
Sat Jan 7 19:41:16 CET 2006


On Saturday 07 January 2006 01:08, Rohnny Stormo wrote:
> Hi group.
>
>
> I'm try to find the keycode and key. values in gambas2 1.9.23. Have they
> changed name or been put
> someplace else?
>
>
> Regards Rohnny
>
I'm a newbie so take what I say with a grain of salt.  
I'm using the following and it works:

'In the keypress event
if key.code =key.tab then
 Dosomething
end if
if key.code =key.F4 then
 Dosomething
end if

Is there a specific key you are interested in?  Maybe "asc(key.code)" could 
work? 
John




More information about the User mailing list