1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-14 19:49:33 +00:00

Properly checks if ID > 0 instead of just IF ID.

This commit is contained in:
FellippeHeitor 2018-09-06 01:37:35 -03:00
parent a79a7e1d94
commit 228518d902

View file

@ -693,7 +693,7 @@ SUB __UI_ProcessInput
DIM TempHover AS LONG
__UI_BelowHoveringID = 0
FOR i = 1 TO UBOUND(Control)
IF Control(i).ID AND Control(i).Type <> __UI_Type_MenuItem AND ((Control(i).Hidden = False AND __UI_DesignMode = False) OR (__UI_DesignMode = True)) THEN
IF Control(i).ID > 0 AND Control(i).Type <> __UI_Type_MenuItem AND ((Control(i).Hidden = False AND __UI_DesignMode = False) OR (__UI_DesignMode = True)) THEN
IF Control(i).Type = __UI_Type_ContextMenu AND __UI_DesignMode AND __UI_ShowInvisibleControls = False THEN _CONTINUE
Control(i).HoveringVScrollbarButton = 0
IF Control(i).ParentID > 0 THEN