>
> So, you have to write something like :
> (this is not tested)
> IF key.Code = "~" THEN
>         STOP EVENT
> ENDIF

If you want to check a key against a real string, you can't do that, you must 
use the Key.Text property.

Key.Text is different from Key.Code! Key.Code identifies the keyboard key, 
whereas Key.Text is the text associated with the key.

Regards,

-- 
Benoît

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to