mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-15 03:49:56 +00:00
Returns existing ID of menu panel if already active.
This commit is contained in:
parent
869f5ab2ac
commit
c933e5441f
1 changed files with 1 additions and 0 deletions
|
@ -5977,6 +5977,7 @@ SUB __UI_ActivateMenu (This AS __UI_ControlTYPE, SelectFirstItem AS _BYTE)
|
||||||
|
|
||||||
IF __UI_GetID(RTRIM$(This.Name) + CHR$(254) + "Panel") > 0 THEN
|
IF __UI_GetID(RTRIM$(This.Name) + CHR$(254) + "Panel") > 0 THEN
|
||||||
__UI_ActiveMenu(__UI_TotalActiveMenus) = __UI_GetID(RTRIM$(This.Name) + CHR$(254) + "Panel")
|
__UI_ActiveMenu(__UI_TotalActiveMenus) = __UI_GetID(RTRIM$(This.Name) + CHR$(254) + "Panel")
|
||||||
|
EXIT SUB
|
||||||
ELSE
|
ELSE
|
||||||
IF __UI_TotalActiveMenus + 1 > UBOUND(__UI_ActiveMenu) THEN
|
IF __UI_TotalActiveMenus + 1 > UBOUND(__UI_ActiveMenu) THEN
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
|
|
Loading…
Reference in a new issue