%HI_GetSelfInstanceId function


Function
The function detects the instance number of the picture (Control function).
Declaration
INT %HI_GetSelfInstanceId(
   BOOL in bPhysical := @FALSE
 )
Parameters
bPhysical@TRUE - the function returns the current picture instance number.
@FALSE - the function returns the instance number that was required on opening the picture.
Description
The function returns the picture instance number. If the bPhysical parameter is not defined or its value is False, the function returns such instance number that was required on opening the picture.
If the parameter is True, the function return the current picture instance number. The current instance number can be different from the required number if the picture is opened as a subpicture and the parameter Multiple open of the connection is checked.
Note
See also: %GetSelfHBJ().
Napíšte komentár