Search
Box.SetRect Method
See Also
 



Sets the box' location and size.

 Syntax

VB6  Copy Code

Public Sub SetRect( _
    ByVal left As Long, _
    ByVal top As Long, _
    ByVal right As Long, _
    ByVal bottom As Long _
)

C++  Copy Code

public:
void SetRect (
    int left,
    int top,
    int right,
    int bottom
)

 Parameters

left
The left side of the new bounding rectangle.
top
The top of the new bounding rectangle.
right
The right side of the new bounding rectangle.
bottom
The bottom of the new bounding rectangle.

 Remarks

Sets box placement, allows changing both the position and size of the box.

 See Also