mirror of
https://github.com/paleotronic/microm8-gui.git
synced 2025-02-20 07:28:55 +00:00
fix key map open apple
This commit is contained in:
parent
7dd9d908a6
commit
975d674e5f
@ -2954,7 +2954,7 @@ begin
|
|||||||
code := MapKeyCode(Key,Shift);
|
code := MapKeyCode(Key,Shift);
|
||||||
if code <> 0 then
|
if code <> 0 then
|
||||||
SendKey( code, 0, 1, MapShiftState(Key, Shift) );
|
SendKey( code, 0, 1, MapShiftState(Key, Shift) );
|
||||||
StatusBar1.SimpleText := 'keycode = '+IntToStr(code);
|
//StatusBar1.SimpleText := 'keycode = '+IntToStr(code);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TGUIForm.FormKeyPress(Sender: TObject; var Key: char);
|
procedure TGUIForm.FormKeyPress(Sender: TObject; var Key: char);
|
||||||
|
2
main.pas
2
main.pas
@ -2954,7 +2954,7 @@ begin
|
|||||||
code := MapKeyCode(Key,Shift);
|
code := MapKeyCode(Key,Shift);
|
||||||
if code <> 0 then
|
if code <> 0 then
|
||||||
SendKey( code, 0, 1, MapShiftState(Key, Shift) );
|
SendKey( code, 0, 1, MapShiftState(Key, Shift) );
|
||||||
//StatusBar1.SimpleText := 'keycode = '+IntToStr(code);
|
StatusBar1.SimpleText := 'keycode = '+IntToStr(code);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TGUIForm.FormKeyPress(Sender: TObject; var Key: char);
|
procedure TGUIForm.FormKeyPress(Sender: TObject; var Key: char);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user