Solved

Resize VB Form with Different Resolution

Posted on 2002-05-14
3
219 Views
Last Modified: 2010-05-03
Hi...

Is there any free OCX i can download to resize my VB Application form based on different Display Resolution ? I want it to be able to resize the MDI parent / child form...i download one resizer OCX but it is unable to resize the MDI parent / child form....

rgds,
Alex Gan
0
Comment
Question by:kgsoft_sys
3 Comments
 
LVL 22

Accepted Solution

by:
rspahitz earned 50 total points
ID: 7011510
This can all be done in code in the Resize event procedures.

The procedure of resizing controls based on screen resolution is generally frowned upon because it causes an inconsistency among applications.

For example, suppose that you are running in 640x480 mode.  Most of your applications have relatively large fonts on a 15" monitor.  When switched to 1024x768, the fonts become relatively small on the same monitor.

If your application attempts to compensate for this, you will either have very small fonts (with lost resolution) in 640x480 mode, or very large fonts in 1024x768 mode which overwhelm the user and actually make the application harder to read because extra scolling is probably going to be needed.

--
If you're talking about simple resizing of the form and (for example) adjusting the size of a status bar, that is done quite well through the Resize event.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7765538
Hi kgsoft_sys,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

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

kgsoft_sys, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7838218
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
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…

896 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now