mdi childform wont resize - stretch when res is 800x600 ?? vb2005

G

Guest

Hello,

I have a child form in a parent MDI form. The childform is being shrunk and
cannot be resized when screen resolution is 800x600. The end user who uses
my app cannot see stuff on the screen too well if the resolution is smaller
than 800x600 (why did it have to be my app?) Yes, I know, get a bigger
screen - $$. Management is on it - just not right now. The parent form can
be resized but not the child form.

What is the way to programmatically force the child form to remain/be a
specified size? Is there a property I can set to make the child form
resizeable like the parent form when the screen resolution is small? I
looked at me.Autosize - with me.Autosizemode = GrowOnly (I tried
GrowAndShrink - and that caused the childform to only shrink plus it could
not be resized - and that was on the development workstation). Any
suggestions greatly appreciated.

Is there another way to deal with screen resolution problems like this?

Thanks,
Rich
 
G

gene kelley

Hello,

I have a child form in a parent MDI form. The childform is being shrunk and
cannot be resized when screen resolution is 800x600. The end user who uses
my app cannot see stuff on the screen too well if the resolution is smaller
than 800x600 (why did it have to be my app?) Yes, I know, get a bigger
screen - $$. Management is on it - just not right now. The parent form can
be resized but not the child form.

What is the way to programmatically force the child form to remain/be a
specified size? Is there a property I can set to make the child form
resizeable like the parent form when the screen resolution is small? I
looked at me.Autosize - with me.Autosizemode = GrowOnly (I tried
GrowAndShrink - and that caused the childform to only shrink plus it could
not be resized - and that was on the development workstation). Any
suggestions greatly appreciated.

Is there another way to deal with screen resolution problems like this?

Thanks,
Rich

With normal default settings on a MDIForm and ChildForm, screen
resolution wouldn't matter. Either the child form of the specified
size fits in the MDI client area or the MDI form shows scroll bars if
it doesn't fit, but is still resizable.
Some obvious things to look for:
1) ChildForm FormBorderStyle is not set to Sizable
2) On the ChildForm, you may have set some combination of size
property, MinimumSize, MaximumSize that prohibit resizing

Not so obvious, but by your use of "shrunk", "cannot be resized" and
"cannot see too well" would also suggest that your user might be using
a large font setting. Depending on what is on the ChildForm, a large
font setting can result in an incomplete appearance of the displayed
form which is not a form resize issue.

Gene
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top