Moveable Property for Visual Basic 6.0 Users

The Moveable property of a Visual Basic 6.0 form has no equivalent in Visual Basic 2008.

Conceptual Differences

In Visual Basic 6.0, the Moveable property of a form can be set to False to prevent a user from moving the form at run time. Windows Forms in Visual Basic 2008 does not have an equivalent property.

Although it is generally considered bad user interface design, you can achieve similar behavior in Visual Basic 2008 by setting the FormBorderStyle property to None and then the ControlBox property to False.

Upgrade Notes

When a Visual Basic 6.0 application is upgraded to Visual Basic 2008, any design-time or run-time references to the Moveable property are not upgraded and a warning comment is added to the code.

See Also

Concepts

Form Object for Visual Basic 6.0 Users

MDIForm Object for Visual Basic 6.0 Users

Reference

ControlBox