Link to home
Start Free TrialLog in
Avatar of jawad_hussain
jawad_hussainFlag for Canada

asked on

How do I resize controls and the form they are on depending on resolution, etc.

I designed my vb app in VB6.0 using a few ocx controls that modify the gui interface.  

The application works beautifully if i run it in 1024x768xlarge fonts.  If I switch to smaller fonts or lower resolutions, the placements of the controls are fine, but the form does not resize large enough for me to read it or the controls are off the physical form.
I DO NOT want to use scroll bars for this, etc.

Is there any way I can setup my program to resize everything depending on the resolution i am using, etc.

Please provide FULL source code demonstrating the ability to change the scale I guess of the form and controls to allow me to do this.

I use sstab, numerous textboxes, option boxes, combo boxes and other controls.

someone did answer this in another question but the answer was not complete as the text was corrupted looking.

ASKER CERTIFIED SOLUTION
Avatar of Juilette
Juilette

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jawad_hussain

ASKER

Thanks Juliette.

I will try it out.
Juliette:

problem.

I did as the code suggests, but now I get the following error when I try to run the application from VB:


Compile error: A module is not a valid type