[Gambas-user] ASCII value of keypress

Daniel Oxley oxleyd at ...699...
Tue Feb 8 18:06:54 CET 2005


Thanks, I'll give this a try! 

-----Original Message-----
From: gambas-user-admin at lists.sourceforge.net
[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob
Sent: 08 February 2005 17:58
To: gambas-user at lists.sourceforge.net
Subject: Re: [Gambas-user] ASCII value of keypress

On Tuesday 08 February 2005 11:38, Daniel Oxley wrote:
> Hi, anyone know if it is possible (via code) to find out the value of 
> the key that I press on my keyboard?  I have a keyboard with extra 
> buttons on that i would like to use on my app but have no way of 
> knowing what the key values are!!!

Maybe just make a little applet with no code but this?

Public Sub somecontrol_KeyPress()
	Print Key.Code
	Print Key.Ascii ' I forget if this will actually work,
	                ' maybe Key.Text?
End

Rob




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews
on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list