%GetSelfInstanceId function


Function
The function detects the instance number of a given picture.


Declaration
INT %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 parameter bPhysical is not defined or its value is False, the function returns such the instance number that was required on opening the picture.
If the parameter is True, the function returns the current picture instance number. The current instance number can differ from the required number if the picture is opened as a subpicture and the parameter Multiple open of the connection is checked. 

If the function is called in the context of a Unit event, it returns an event not a Unit instance.

Note
See also: %GetSelfHBJ().

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ť .