(CodeLib-Manager)
Registriert seit: 10. Jun 2002
4.648 Beiträge
Delphi XE Professional
|
Re: Tastaturereignis an Website übermitteln
26. Jul 2008, 07:05
Hallo, simuliere einen Character so:
Delphi-Quellcode:
procedure Simulate_Key(Key: Char);
begin
keybd_event(Ord(Key),MapVirtualKey(Ord(Key), 0), 0, 0);
keybd_event(Ord(Key),MapVirtualKey(Ord(Key), 0), KEYEVENTF_KEYUP, 0);
end;
procedure Simulate_C;
begin
Simulate_Key('C');
end;
Thomas
|
|
Zitat
|