Einzelnen Beitrag anzeigen

NicoDE
(Gast)

n/a Beiträge
 
#2

Re: if abfrage bei mouse_event??

  Alt 23. Apr 2004, 15:01
Delphi-Quellcode:
procedure TForm1.Timer1Timer(Sender: TObject);
begin
  Caption := '';
  if (GetKeyState(VK_LBUTTON) < 0) then
    Caption := 'LMT ';
  if (GetKeyState(VK_MBUTTON) < 0) then
    Caption := Caption + 'MMT ';
  if (GetKeyState(VK_RBUTTON) < 0) then
    Caption := Caption + 'RMT ';
end;
  Mit Zitat antworten Zitat