Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 4-Sep-11 21:37pm
v3

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.
 
Share this answer
 
When u check MDI forms property .there is an option Autoscroll property by default =False u must change the property False into true.
 
Share this answer
 
Comments
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
You could set the Form.Autoscroll property[^]...
 
Share this answer
 
Comments
Michael Waguih 4-Sep-11 7:30am    
For sure I know this property but It doesn't work with the MDI Container property assigned.
[no name] 5-Sep-11 4:14am    
correct.
Michael Waguih 7-Sep-11 7:54am    
So please is there any way to fix it ?

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900