Here's a function you can use to find out if the CAPS LOCK is on:
function IsCapsLockOn : boolean;
begin
Result := 0 <>
(GetKeyState(VK_CAPITAL) and $01);
end;
6:46 PM
iwan RFID
Here's a function you can use to find out if the CAPS LOCK is on:
function IsCapsLockOn : boolean;
begin
Result := 0 <>
(GetKeyState(VK_CAPITAL) and $01);
end;
| Mivo.TV News |
| Mivo.TV News |


1 comments:
I think the "0 <>" is redundant and you can just do:
Result := (GetKeyState(VK_CAPITAL) and $01);
Post a Comment