[Gambas-user] Detecting just Control Key

Benoît Minisini g4mba5 at gmail.com
Thu Oct 25 15:06:20 CEST 2018


Le 25/10/2018 à 14:30, David Sanromá a écrit :
> Wonderful,
> 
> 
> This is exactly the work-around I was looking for.... Thanks a lot...
> 
> 
> Out of curiosity, any ideas about detecting just Ctrl key on KeyPress ? 
> According to what I have seen, it seems to be inconsistent with the 
> documentation I mentioned. ;)
> 
> 
> TIA,
> 
> David
> 

You must check if Key.Code equals the Key.ControlKey constant.

Regards,

-- 
Benoît Minisini


More information about the User mailing list