Garry
Mon Nov 27 03:24:50 CST 2006
Dave Hi,
Encouraging answer.
How do you resize a MDI child form to fit the Client Rectangle in the parent
MDI in vb.net without the scroll bars appearing????
I have spent days trying to do this.
It was so easy in VB6
Garry
<TonySantolaria@gmail.com> wrote in message
news:1164366217.755660.224070@j72g2000cwa.googlegroups.com...
> Hello Dave,
>
> I think what you are looking for is a Multiple Document Interface (MDI)
> Application . It is very easy to construct one in .NET, follow this
> simple instructions:
>
> 1) Create a parent form: just create a form and set the property
> IsContainerMdi to true
> 2) Create a menu for the parent: you can create a menu and set the
> property IsMdiList to true for the standard behaviour
> 3) Create childs form and set the property MdiParent of them to the
> parent form. They will be packed with the mdi parent automatically
>
> Perhaps you would like to use the Hide() method in the childs if you
> dont want them to be created and destroyed every time you open/close
> them.
>
> Link to ms documentation
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconmdiapplications.asp
>
> Hope it helps,
>
> Tony Santolaria
>
>
> David W wrote:
>> Hi,
>>
>> I am porting an application from Windows Mobile to the desktop. This is
>> my
>> first .NET desktop forms application (my experience is in ASP.NET). I am
>> looking for a sample application that employs a solid programming model
>> for
>> managing a multi-window application. This application has a lot of
>> dynamiccally built forms and opens and closes forms as necessary and can
>> have multiple forms open at once. Its very simple on Windows Mobile
>> because
>> all forms are always maximized and you can layer forms on top of each
>> other
>> with no problem.
>>
>> Thanks for any assistance.
>>
>> -Dave
>