Solved

Resize VB Form with Different Resolution

Posted on 2002-05-14
3
218 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
Comment Utility
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
Comment Utility
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
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

771 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

8 Experts available now in Live!

Get 1:1 Help Now