Alistair George wrote:

>   KS:Tkeyboardstate;
> begin
> KS[VK_NUMLOCK]:= VK_NUMLOCK AND (NOT 1);
> SetKeyboardState(KS);

Hm... when I do this the Numlock stays off and both the Caps and Scroll leds are 
turned on. What do you think is the problem?

Gajo Csaba

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to