Moveable Property

Microsoft Access Visual Basic

Moveable Property

       

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

expression.Moveable

expression   Required. An expression that returns one of the objects in the Applies To list.

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