Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.
Komentár: D2D-4414

%HI_GetConnectedHBJ function


Function

The function %HI_GetConnectedHBJ returns the unique identifier (HOBJ) of the object connected to the displayer of Graph

, Report or

 or Picture type.

Declaration


Blok kódu
languageesl
themeConfluence
HBJ %HI_GetConnectedHBJ(
   INT in refId 
   [, BOOL in bPhysical := True]
) 
Parameters


refIdReference to displayer (reference variable).
bPhysicalIf the value of parameter is True, the function will return the basic HOBJ of the connected object.
If the value of parameter is False, the function will return a dynamic (unique) HOBJ of the object connected as instance.
If connected object represents the picture, the values differ in case that the picture is connected as instance.
Description

If there is no connected object, the function returns 0.

Example


Blok kódu
languageesl
themeRDark
INT _i1
 INT _i2
 
 _i1 := T.Temperatures\HBJ
 %HI_SetConnectedObj(_Graph, _i1, 0)
 _i2 := %HI_GetConnectedHBJ(_Graph)
 
 ; The following condition will be always met
 IF _i1 = _i2 THEN
 ....
 

where:
_Graph - is RefId of Graph displayertype.
T.Temperatures - object of Graph type. The expression T.Temperatures\HBJ is HBJ type (reference to object)
The instance number is 0.

Note