Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%HI_SetBorderDistance function
Funkcia
Function %HI_SetBorderDistance sets the size of the edges of windows controlss.
Deklarácia
Blok kódu | ||||
---|---|---|---|---|
| ||||
%HI_SetBorderDistance( INT in _refId, INT in _distLeft, [, INT in _distTop , INT in _distRight , INT in _distBottom] ) |
Parametre
_refId | Reference to displayer graphic object (reference variable). |
_distLeft | margin size left |
_distTop | the optional margin size parameter upper, if not specified, _distLeft is used |
_distRight | the optional margin size parameter right, if not specified, _distLeft is used |
_distBottom | the optional margin size parameter bottom, if not specified, _distLeft is used |
Poznámka
Parameters _distTop, _distRight, _distBottom all or none must be entered.
Príklad
Blok kódu | ||||
---|---|---|---|---|
| ||||
; margin %HI_SetBorderDistance(_RFID_BOX, 10, 5, 10, 5) %HI_SetBorderDistance(_RFID_BOX, 0, 0, 0, 0) ; shortened %HI_SetBorderDistance(_RFID_BOX, 10) ; set all to 10 %HI_SetBorderDistance(_RFID_BOX, 0) ; no margins |