%HI_GetEnable, %HI_SetEnable functions


Function
The function %HI_SetEnable enables/disables the specified graphic object (Control function).

The function %HI_GetEnable detects whether the specified graphic object is enabled or not.
Declaration
%HI_SetEnable(
   INT in refId, 
   BOOL in bEnable
 )
 
 
 BOOL %HI_GetEnable(
   INT in refId
 )

Parameters
refId Reference to graphic object (reference variable).
bEnable @TRUE - enables the graphic object.
@FALSE - disables the graphic object.

Note
The function also allows to disable / enable a tab of Windows control of Tab control type - the parameter refId determines the name of the reference variable of a tab.
Napíšte komentár