Solved

How to make form Non-Moveable?

Posted on 2002-07-19
4
791 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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 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