Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.64 KB

Access.ListBox.Move.md

File metadata and controls

46 lines (28 loc) · 1.64 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ListBox.Move method (Access)
vbaac10.chm11299
vbaac10.chm11299
Access.ListBox.Move
a16304f5-891c-b80c-80b3-1f75692cb30f
02/20/2019
medium

ListBox.Move method (Access)

Moves the specified object to the coordinates specified by the argument values.

Syntax

expression.Move (Left, Top, Width, Height)

expression A variable that represents a ListBox object.

Parameters

Name Required/Optional Data type Description
Left Required Variant The screen position in twips for the left edge of the object relative to the left edge of the Microsoft Access window.
Top Optional Variant The screen position in twips for the top edge of the object relative to the top edge of the Access window.
Width Optional Variant The desired width of the object in twips.
Height Optional Variant The desired height of the object in twips.

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 by using the Move method are saved if the user explicitly saves the database, but Access does not prompt the user to save such changes.

[!includeSupport and feedback]