salut
j'ai un ptit probleme en delphi en esperant que vous pourrez m'aider
savez vous comment détécter les touche du claviers appuyées depuis n'importe où?
begin
arret:=false;
while Arret=False do begin
For a := 32 To 121 do begin
If (GetAsyncKeyState(121) And BIT15) <> 0 Then arret:=true;
If (GetAsyncKeyState(a) And BIT15) <> 0 Then begin
ListBox1.Items.Add(inttostr(a))
end;
button1.Caption:='marche';
application.ProcessMessages;
end;
end;