mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-15 03:49:56 +00:00
Allows sending Ctrl+z/Ctrl+y while the editor has focus.
This commit is contained in:
parent
7c40916bf9
commit
b63e8acda0
1 changed files with 2 additions and 4 deletions
|
@ -1121,11 +1121,9 @@ SUB __UI_BeforeUpdateDisplay
|
||||||
IF UndoPointer < TotalUndoImages THEN Control(EditMenuRedo).Disabled = False
|
IF UndoPointer < TotalUndoImages THEN Control(EditMenuRedo).Disabled = False
|
||||||
|
|
||||||
IF (__UI_KeyHit = ASC("z") OR __UI_KeyHit = ASC("Z")) AND __UI_CtrlIsDown THEN
|
IF (__UI_KeyHit = ASC("z") OR __UI_KeyHit = ASC("Z")) AND __UI_CtrlIsDown THEN
|
||||||
b$ = MKI$(0)
|
SendSignal 214
|
||||||
SendData b$, 214
|
|
||||||
ELSEIF (__UI_KeyHit = ASC("y") OR __UI_KeyHit = ASC("Y")) AND __UI_CtrlIsDown THEN
|
ELSEIF (__UI_KeyHit = ASC("y") OR __UI_KeyHit = ASC("Y")) AND __UI_CtrlIsDown THEN
|
||||||
b$ = MKI$(0)
|
SendSignal 215
|
||||||
SendData b$, 215
|
|
||||||
END IF
|
END IF
|
||||||
|
|
||||||
'Make ZOrdering menu enabled/disabled according to control list
|
'Make ZOrdering menu enabled/disabled according to control list
|
||||||
|
|
Loading…
Reference in a new issue