![]() |
Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming! |
⤷ Detect insert-key status
Use GetKeyStatus function with VK_INSERT parameter.
procedure TForm1.Button1Click(Sender: TObject);
begin
if GetKeyState(VK_INSERT)=0 then
Label1.Caption:='Insert'
else Label1.Caption:='Replace';
end;
-
More for developers