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