Home All Groups Group Topic Archive Search About

Flow layout possible?

Author
10 Jan 2006 3:15 AM
VB Programmer
I have user controls that I'm going to place on the form.  There could be
from 0 - 20.  I want the user to be able to resize the window and have the
controls relocate automatically, but like FLOW LAYOUT in ASP.NET.  Any idea
how I can do this in VB.NET 2005, the latest version?

Thanks!

Author
10 Jan 2006 3:29 AM
VB Programmer
I just found the flow layout control.  I think this will do.

How do I add a user control dynamically but have it CONTAINED within the
flow control?  Here's how I'm adding the user control...

Controls.Add(MyUserControl)

Thanks!

Show quoteHide quote
"VB Programmer" <d***@emailme.com> wrote in message
news:ulslUQZFGHA.3308@TK2MSFTNGP10.phx.gbl...
>I have user controls that I'm going to place on the form.  There could be
>from 0 - 20.  I want the user to be able to resize the window and have the
>controls relocate automatically, but like FLOW LAYOUT in ASP.NET.  Any idea
>how I can do this in VB.NET 2005, the latest version?
>
> Thanks!
>
Author
10 Jan 2006 3:34 AM
VB Programmer
MyFlowPanel.Controls.Add(MyUserControl)

:)

Thanks everyone!

Show quoteHide quote
"VB Programmer" <d***@emailme.com> wrote in message
news:ODGYQYZFGHA.1424@TK2MSFTNGP12.phx.gbl...
>I just found the flow layout control.  I think this will do.
>
> How do I add a user control dynamically but have it CONTAINED within the
> flow control?  Here's how I'm adding the user control...
>
> Controls.Add(MyUserControl)
>
> Thanks!
>
> "VB Programmer" <d***@emailme.com> wrote in message
> news:ulslUQZFGHA.3308@TK2MSFTNGP10.phx.gbl...
>>I have user controls that I'm going to place on the form.  There could be
>>from 0 - 20.  I want the user to be able to resize the window and have the
>>controls relocate automatically, but like FLOW LAYOUT in ASP.NET.  Any
>>idea how I can do this in VB.NET 2005, the latest version?
>>
>> Thanks!
>>
>
>
Author
10 Jan 2006 1:59 PM
Chris Dunaway
VB Programmer wrote:
>
> Thanks everyone!
>
Glad we could help!  I don't know what you would have done without us!
Show quoteHide quote
:)
Author
10 Jan 2006 2:43 PM
VB Programmer
Haha...
Show quoteHide quote
"Chris Dunaway" <dunaw***@gmail.com> wrote in message
news:1136901545.248317.110060@g44g2000cwa.googlegroups.com...
> VB Programmer wrote:
>>
>> Thanks everyone!
>>
> Glad we could help!  I don't know what you would have done without us!
> :)
>