STATIC PROPERTY READ Code AS IntegerReturns the code of the key.
![]() |
Never compare the value of this property with a numeric constant, because the key codes
may depend on the underlying toolkit.
Always use the constants defined in this class! |
'Combination key CTRL + R
IF Key.Code=Asc("R") THEN
IF Key.Control THEN
PRINT "Gambas"
END IF
END IF
Gambas