SetBounds Method

Sets the left position, top position, width, and height of the dialog box.

object.SetBounds left, top, width, height
 

Arguments

object

Required.  A variable containing a dialog object created by calling CreateObject or new ActiveXControl.

left

Required. New left position of the dialog box.

top

Required. New top position of the dialog box.

width

Required. New width of the dialog box.

height

Required. New height of the dialog box.

Remarks
None.

Example
See Title, Position, and Size in VBScript.