Click here to Skip to main content
13,049,263 members (68,310 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi all,

I have an MDI Child in which I was assigning its minimum size so the user couldn't resize it smaller than the minimum size already assigned, but the MDI parent can have a smaller size.

I want to show an auto scroll if the MDI Parent has a size less than The MDI Child size, but I found that the MDI container can't have an auto scroll property true.

So please what can I do ?

Thanks in advance,
Posted 4-Sep-11 1:09am
Updated 4-Sep-11 21:37pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You could set the Form.Autoscroll property[^]...
Michael Waguih 4-Sep-11 7:30am
For sure I know this property but It doesn't work with the MDI Container property assigned.
MaulikDusara 5-Sep-11 4:14am
Michael Waguih 7-Sep-11 7:54am
So please is there any way to fix it ?
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

When u check MDI forms property .there is an option Autoscroll property by default =False u must change the property False into true.
Michael Waguih 7-Sep-11 7:44am
For sure I have done this but when I change the autoscroll property to true automatically it sets the MDI container property to false
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

I know this is old, but the answer is to set the MDI Parent as such, and the MDI Child Form to AutoScroll = true. I just had the same problem, this was what worked for me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 23 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100