1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 11:59:34 +00:00

Remove code to handle Alt+F4 in Windows as QB64 does that itself now.

This commit is contained in:
FellippeHeitor 2018-05-05 19:27:16 -03:00
parent 88be63ff01
commit 54d4cff0f4

View file

@ -1325,20 +1325,11 @@ SUB __UI_EventDispatcher
ContainerOffsetTop = Control(Control(__UI_HoveringID).ParentID).Top
END IF
$IF WIN THEN
'Alt+F4 - Windows
IF ((_KEYDOWN(100308) OR _KEYDOWN(100307)) AND __UI_KeyHit = -15872) OR __UI_ExitTriggered THEN
__UI_UnloadSignal = True
__UI_BeforeUnload
IF __UI_UnloadSignal THEN SYSTEM
END IF
$ELSE
IF __UI_ExitTriggered THEN
IF __UI_ExitTriggered THEN
__UI_UnloadSignal = True
__UI_BeforeUnload
IF __UI_UnloadSignal THEN SYSTEM
END IF
$END IF
END IF
'Have we had a resize?
IF __UI_HasResized THEN __UI_FormResized: __UI_HasResized = False