Nonmoveable form

Posted on 1998-07-19
Medium Priority
Last Modified: 2010-05-03
Is there any way to make a form Nonmoveable in VB4 ?

Many thenks.
Question by:Amnon

Expert Comment

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

Author Comment

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 ?

Accepted Solution

chabaud earned 200 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

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

624 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