[Gambas-user] Enter button

Fabien Bodard abidoo.too at ...11...
Wed Feb 11 21:36:11 CET 2004


Le Mercredi 11 Février 2004 06:23, Rizky Tahara Shita a écrit :
> hi,
>
> 1. I try this on the QWERTY keyboard.
> the key.code for the Enter button (above the right SHIFT key)  aren't same
> with the Enter button at the NumPad, why ? then what is the key.code for
> Enter button at the NumPad ?
>
> 2. I try to show Project Properties using ALT + Enter. but it only will
> show with the Enter button at the NumPad not the other one...
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



Make a form

Put a textbox

public sub TextBox1.KeyPress()

Print Key.code

END

with that you can see in the console the pressed key code...

Nevertheless it's -- > 
key.enter for keypad
key.return for return


Simply that... look in the gambas help at key  keyword  at gb.qt





More information about the User mailing list