%HI_GetActiveTab function


Function
The function detects the active tab of the Windows control of the Tab control type.
Declaration
INT %HI_GetActiveTab(
   INT in _TAB_refId
 )
Parameters
_TAB_refIdReference (reference variable) of Windows control of Tab control type.
Note
The function retrieves the reference variable of the selected tab. If the tab has no reference variable, the return value is 0.
Example
The procedure HideActiveTab hides the active tab:

; _TAB_CONTROL - reference variable of Windows control of "Tab control" type

 PROCEDURE HideActiveTab
 INT _ActiveTabRefId
 _ActiveTabRefId  := %HI_GetActiveTab(_TAB_CONTROL)
  %HI_SetVisible(_ActiveTabRefId, @FALSE)
 END HideActiveTab

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .