Solved

Resize VB Form with Different Resolution

Posted on 2002-05-14
3
222 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA saving file message display 5 73
vb6 connector to SQL Server 2 37
Visual Studio search word table and return Cell index 8 69
How to make an ADE file by code? 11 94
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

830 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