Solved

How to make form Non-Moveable?

Posted on 2002-07-19
4
792 Views
Last Modified: 2012-05-04
I am opening up a form and I would like that this form not be draggable (moveable by the user) - how can i do this?
0
Comment
Question by:eeevbeee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:procyn00
ID: 7165740
You can set the border to nothing.
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 25 total points
ID: 7165763
From MSDN:

"Moveable Property Changes in Visual Basic"

In Visual Basic 6.0, the Moveable property of a form could be set to false to prevent a user from moving the form at run time. Windows Forms in Visual Basic .NET do not have an equivalent property.

Although it is generally considered bad user interface design, you can achieve similar behavior in Visual Basic .NET by setting the Form.FormBorderStyle property to none and the Form.ControlBox property to false.

0
 

Author Comment

by:eeevbeee
ID: 7167452
AzraSound,
>>and the Form.ControlBox property to false.

I don't find this Property.
0
 

Author Comment

by:eeevbeee
ID: 7167457
My last comment was mistaken.

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question