Solved

Control Size of Forms in Forms

Posted on 2002-06-05
6
125 Views
Last Modified: 2012-05-04
How do I control the size of a form within my MDI Form?

Jeff
0
Comment
Question by:jeffbeasley
6 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 7056644
You can only control the size of the child form when it is not maximized, then using the normal .Height and .Width properties you can set it to whatever you want. So you would set .WindowState = vbNormal then set the height and width accordingly.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 7056648
You can set the form's BorderStyle property to something like "Fixed Single".  Or do you mean you want to allow the user to resize, but only to a certain size?
0
 
LVL 3

Author Comment

by:jeffbeasley
ID: 7056697
Azra,
That worked for another 15 points how do I control where its beginning placement on the screen is.....

Thanks.....
Jeff
0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
LVL 28

Accepted Solution

by:
AzraSound earned 65 total points
ID: 7056719
If it is a true child form in your MDI application, you can position the child form in its Load event:

Private Sub Form_Load()
    Me.Move 1000, 1000
End Sub
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7858109
jeffbeasley, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Accept AzraSound's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 8001717
Comment from expert accepted a answer

Computer101
E-E Admin
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel object stays open 19 76
bit defender blocks good applications 2 94
Visual Studio 2005 text editor 10 39
clicking a shape in a frame array vb6 3 45
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

803 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