다음을 통해 공유


Form.Moveable Property (Access)

Returns or sets a Boolean indicating whether the specified form can be moved by the user; True if it can be moved. Read/write.

Syntax

expression .Moveable

expression A variable that represents a Form object.

Remarks

You can use the Move method to programmatically move a form or report regardless of the value of the Moveable property.

Example

The following example determines whether or not the first form in the current project can be moved.

If Forms(0).Moveable Then 
 MsgBox "You may move the form." 
Else 
 MsgBox "The form cannot be moved." 
End If 

See Also

Concepts

Form Object Members

Form Object