%HI_GetSizeX, %HI_SetSizeX functions


Function
The function %HI_SetSizeX sets the width of the graphic object in the picture (Control function).

The function %HI_GetSizeX detects the width of the graphic object in the picture.
Declaration
%HI_SetSizeX(
   INT in refId, 
   INT in x, 
   BOOL in where := @FALSE
 )
 
 
 INT %HI_GetSizeX(
   INT in refId, 
   BOOL in where := @FALSE
 )
Parameters
refIdReference to the graphic object (reference variable).
xWidth of the graphic object in the picture (the palette Object properties- the tab Size).
whereOptional parameter. Specifies whether to read or set the value before or after the calculation of the Layout manager. Please see the note below.
Note

The behaviour of functions is affected by setting of the Script functions and it is described in the following table.

picture parameter "Script functions"called functionwhere=@FALSEwhere=@TRUE
Zoom%HI_Set*originaloriginal
%HI_Get*originaloriginal
Layout%HI_Set*originalactual
%HI_Get*actualactual
StdLayout%HI_Set*actualoriginal
%HI_Get*actualoriginal
  • original - the coordinate represents the initial value that is calculated for displaying according to definition of the Layout manager
  • actual - the coordinate represents the real position in the screen after recalculation according to the definition of the Layout manager

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