Move Method (Visual FoxPro)
Moves an object.
Object.Move (nLeft [, nTop [, nWidth [, nHeight]]])
Parameters
nLeft
Specifies the horizontal coordinate for the left edge of the object. nLeft is a single-precision value.nTop
Specifies the vertical coordinate for the top edge of the object. nTop is a single-precision value.nWidth
Specifies the new width of the object. nWidth is a single-precision value.nHeight
Specifies the new height of the object. nHeight is a single-precision value.
Remarks
Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Form | Grid | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | PageFrame | _SCREEN | Shape | Spinner | TextBox | ToolBar
Only the nLeft argument is required. However, to include any other arguments, you must also include all arguments in the syntax before the argument you want to include. For example, you cannot specify nWidth without specifying nLeft and nTop. Any trailing arguments that are unspecified remain unchanged.
Moving a Form on the screen or moving a control on a form is always relative to the origin (0,0), which is the upper-left corner. When moving controls in a container, the coordinate system of the container is used.