Solved

Nonmoveable form

Posted on 1998-07-19
3
128 Views
Last Modified: 2010-05-03
Hello,
 
Is there any way to make a form Nonmoveable in VB4 ?

Many thenks.
   Amnon
0
Comment
Question by:Amnon
3 Comments
 

Expert Comment

by:topol
ID: 1466197
You can set Border property to None in Form properties.
0
 

Author Comment

by:Amnon
ID: 1466198
I need to present the form caption.
The form includes Menu, so i can't set the Border property to None and put a Label alike the form caption.

Any other suggestion ?
0
 
LVL 4

Accepted Solution

by:
chabaud earned 100 total points
ID: 1466199
You can force the window size in the Resize event:

Sub Form_Resize ()
      me.width = 500
      me.height = 300
End Sub
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access - Capture pressed key onclick 4 43
vb6 connector to SQL Server 2 42
Hide vba in gp 7 118
VB6 calling COM DLL written in Visual Studio 2003 6 19
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

730 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