method SplitBar.MoveTo (Position as Long)
Moves the split bar to the specified position.

TypeDescription
Position as Long A Long expression that specifies the position to move the split bar. The Position property should be a value between Min and Max properties. If 0, the MoveTo method has no effect, just refresh the split bar at the current position. 
The MoveTo method moves programmatically the split bar to specified position. For instance, you can programmatically move the split bar to the rightmost / topmost position by calling the MoveTo(Max) method. The Min property indicates leftmost/topmost position the split bar can be moved. The Max property indicates rightmost/bottommost position the split bar can be moved. The LimitLT property specifies the expression that determines the limit to drag the splitter to left/top side of its container. The LimitRB property specifies the expression that determines the limit to drag the splitter to right/bottom side of its container. The MoveOnDrop property specifies whether the objects to the left/top and right/bottom of the split bar are moved while dragging or just when the user drops the split bar. The control fires DragStart event when the user clicks the split bar ( start dragging the split bar ). The Drag event is fired contiguously while the split bar is dragging. The DragEnd event notifies your application that the user releases the split bar ( ends dragging the split bar ). The Enabled property specifies whether the control is enabled or disabled.

The /COM version may use the following properties:

 to determine the location/size of the object in its container.