Trapping The Keypad 'Clear' Key

Ken Ray kray at sonsothunder.com
Wed Oct 29 10:59:52 EST 2003


Igor,

Trap the rawKeyDown or rawKeyUp message and look for 65407. I'm pretty
sure it's the same on all platforms, but haven't tested it yet.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Igor Couto
> Sent: Wednesday, October 29, 2003 1:45 AM
> To: use-revolution at lists.runrev.com
> Subject: Trapping The Keypad 'Clear' Key
> 
> 
> Hello, all!
> 
> I was wondering if anyone knew what message is sent when a 
> user presses 
> the 'CLEAR' key that is located in the keypad area of an extended 
> keyboard (the one right next to the '=' sign, which sometimes doubles 
> up as the 'Num Lock' key). I know that keyboards differ from 
> system to 
> system, and from platform to platform, so I was wondering 
> whether using 
> 'rawKeyDown/Up' is actually a reliable way to trap this event... (ie, 
> is the key number passed as the parameter in the rawKeyDown, the same 
> on all platforms/keyboards?).
> 
> Many thanks for any hints or suggestions,
> 
> Regards,
> --
> Igor de Oliveira Couto
> ----------------------------------
> ----------------------------------
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 




More information about the use-livecode mailing list