Moveable Property for Visual Basic 6.0 Users
The document is archived and information here might be outdated

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.

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.

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.

© 2016 Microsoft