%HI_SetRectRounding function


Function
Function %HI_SetRectRounding sets the rounding of the corners of rectangles, the text in the rectangle with the background and the edges of windows controls. 
Declaration
%HI_SetRectRounding(
INT in _refId,
INT in _rounding1,
[, INT in _rounding2
, INT in _rounding3
, INT in _rounding4]
 )
Parameters
_refIdReference to graphic object (reference variable).
_rounding1rounded corners upper left
_rounding2optional corner rounding parameter upper right, if not specified _rounding1 is used
_rounding3optional corner rounding parameter upper down, if not specified _rounding1 is used 
_rounding4optional corner rounding parameter left down, if not specified _rounding1 is used
Note

Parameters _rounding2,_rounding3,_rounding4 all or none must be entered. 

Example
; corner roundings
%HI_SetRectRounding(_RFID_BOX, 2, 3, 4, 5)
%HI_SetRectRounding(_RFID_BOX, 0, 0, 0, 0)

; shortened
%HI_SetRectRounding(_RFID_BOX, 2) ; set all to 2 
%HI_SetRectRounding(_RFID_BOX, 0) ; switch off 



Napíšte komentár