ListBox.Move Method (Access)
Moves the specified object to the coordinates specified by the argument values.
Syntax
식 .Move(Left, Top, Width, Height)
식 A variable that represents a ListBox object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Left |
필수 |
Variant |
The screen position in twips for the left edge of the object relative to the left edge of the Microsoft Access window. |
Top |
선택 |
Variant |
The screen position in twips for the top edge of the object relative to the top edge of the Microsoft Access window. |
Width |
선택 |
Variant |
The desired width in twips of the object. |
Height |
선택 |
Variant |
The desired height in twips of the object. |
Remarks
Only the Left argument is required. However, to specify any other arguments, you must specify all the arguments that precede it. For example, you cannot specify Width without specifying Left and Top. Any trailing arguments that are unspecified remain unchanged.
This method overrides the Moveable property.
In Datasheet View or Print Preview, changes made using the Move method are saved if the user explicitly saves the database, but Access does not prompt the user to save such changes.