1
1
Fork 0
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:
FellippeHeitor 2018-06-11 10:39:27 -03:00
parent 7c40916bf9
commit b63e8acda0

View file

@ -1121,11 +1121,9 @@ SUB __UI_BeforeUpdateDisplay
IF UndoPointer < TotalUndoImages THEN Control(EditMenuRedo).Disabled = False
IF (__UI_KeyHit = ASC("z") OR __UI_KeyHit = ASC("Z")) AND __UI_CtrlIsDown THEN
b$ = MKI$(0)
SendData b$, 214
SendSignal 214
ELSEIF (__UI_KeyHit = ASC("y") OR __UI_KeyHit = ASC("Y")) AND __UI_CtrlIsDown THEN
b$ = MKI$(0)
SendData b$, 215
SendSignal 215
END IF
'Make ZOrdering menu enabled/disabled according to control list