469,960 Members | 2,533 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,960 developers. It's quick & easy.

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

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
Jun 14 '06 #1
1 2549
On Wed, 14 Jun 2006 14:41:02 -0700, Rich
<Ri**@discussions.microsoft.com> wrote:
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
Jun 15 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Ty Salistean | last post: by
5 posts views Thread by gilgames | last post: by
7 posts views Thread by Galen Somerville | last post: by
reply views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.