Girish Chandra
September 27th, 1999, 08:12 AM
Hi Everybody,
I am working on a project using MDI. In MDI it is necessary to have child forms (MDI Clients) with scrollbars so that any resizing done by the user does not make some portions of the form inaccessible.
I tried to find out some way out but could not find any property which would allow me to put scrollbars on the form. Only MDIFrame supports Scrollbars property, but what about MDIChildren? I worked out a solution by putting a Frame, HScrollbar and VScrollbar controls on the form and associated code to scroll the frame as per the scrollbar positions. The actual controls were placed on the Frame control. This approach to my problem requires me to repeat this in each form I create.
Is there another way to resolve my problem (There must be). Please help me out. I am sure other VB developers must have confronted similar situations in MDI system.
Thanks everybody
Girish Chandra
I am working on a project using MDI. In MDI it is necessary to have child forms (MDI Clients) with scrollbars so that any resizing done by the user does not make some portions of the form inaccessible.
I tried to find out some way out but could not find any property which would allow me to put scrollbars on the form. Only MDIFrame supports Scrollbars property, but what about MDIChildren? I worked out a solution by putting a Frame, HScrollbar and VScrollbar controls on the form and associated code to scroll the frame as per the scrollbar positions. The actual controls were placed on the Frame control. This approach to my problem requires me to repeat this in each form I create.
Is there another way to resolve my problem (There must be). Please help me out. I am sure other VB developers must have confronted similar situations in MDI system.
Thanks everybody
Girish Chandra