Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%HI_SetDraggable function


Function

Function %HI_SetDraggable enable enables/ disable disables a possibility to move particular object in the picture.

Declaration


Blok kódu
languageesl
themeConfluence
%HI_SetDraggable(
   INT in refId,
   BOOL in _onoff,
   INT in _moveType,
   BOOL in _visible
 )
Parameters


refIdReference to displayer (reference variable).
_onoff
Enable
Enables/
disable
disables the possibility to move an object.
_moveTypeIf the parameter is:
  • 0 - it allows moving only on X-axis
  • 1 - it allows moving only on Y-axis
  • 2 - it allows moving on X-axis and Y-axis
  • other number - the function will be ignored
_visible
Enable
Enables/
disable a
disables the visibility of an object (@True = the object is visible, @False = the object is invisible).
Example


Blok kódu
languageesl
themeRDark
 %HI_SetDraggable(_LINE, @TRUE, 2, @TRUE)