Solved

How to make form Non-Moveable?

Posted on 2002-07-19
4
788 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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