method Element.MoveTo (X as Long, Y as Long, Width as Long, Height as Long)
Moves the element to a new position.

TypeDescription
X as Long A long expression that specifies the x-position of the element on the surface.
Y as Long A long expression that specifies the y-position of the element on the surface.
Width as Long A long expression that specifies the width of the element on the surface.
Height as Long A long expression that specifies the height of the element on the surface.
Use the MoveTo method to move/resize the element to a new position / size. The ScrollTo method ensures that the element fits the surface's visible area. The X and Y properties specifies the position of the element on the surface. The Width property specifies the width of the element. The Height property specifies the height of the element. Use the Width and Height properties to resize the element, while the AutoSize property is False. If AutoSize property is True, the Width and the Height can not be changed programmatically. The MinWidth/MaxWidth and MinHeight/MaxHeight properties specifies the min/max size of the element. The CenterOnLane property aligns the element relative to its lane.