473,395 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Flow layout possible?

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!
Jan 10 '06 #1
4 1965
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" <do**@emailme.com> wrote in message
news:ul**************@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!

Jan 10 '06 #2
MyFlowPanel.Controls.Add(MyUserControl)

:)

Thanks everyone!

"VB Programmer" <do**@emailme.com> wrote in message
news:OD**************@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" <do**@emailme.com> wrote in message
news:ul**************@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!


Jan 10 '06 #3
VB Programmer wrote:

Thanks everyone!

Glad we could help! I don't know what you would have done without us!
:)

Jan 10 '06 #4
Haha...
"Chris Dunaway" <du******@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
VB Programmer wrote:

Thanks everyone!

Glad we could help! I don't know what you would have done without us!
:)

Jan 10 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: RobertH | last post by:
Been getting allot of complaints from users that everything is squashed and overlayed and fonts are overlapping into buttons etc.. etc... So i determine that grid layout is probably bad, 50% of the...
4
by: NWx | last post by:
Hi, I develop an ASP.NET app which should be used from Internet, so I don't have control over what browsers will be used. I don't want to target every possible users, so I don't really mind is...
6
by: Don Collins | last post by:
Can anyone point me to a white paper discussing the advantages / disadvantages to using “grid layout” vs. “flow layout” on webforms? I’m looking to address performance issues in particular.
7
by: Jack | last post by:
Are there any rules of thumb for when it is appropriate to use grid mode vs. flow mode in the Visual Studio.NET WebForm designer?
0
by: Raghu Raman | last post by:
hi am using the flow layout inmy c#.net asp app.i am using a grid & a panel inside a table in two rows.I set visible =false to that grid sothat the panel moves up and occupies the grids'...
2
by: Andrew Chalk | last post by:
I have set a page to "flow layout". How do i now set it back to grid layout? Many thanks
1
by: David Lozzi | last post by:
Howdy, I have a datalist which is displaying a list of categories and their associated sub categories in secondary datalists. Works great in a single column. Unfortunaly when i switch it to...
0
by: Smokey Grindel | last post by:
flow layout panel too slow? why is the flow layout panel so slow at drawing when you resize a form? when i make it fill docked place controls in it and resize it, it flickers like crazy! i turn on...
1
by: JDeats | last post by:
So I have a new WebForm created in VS.NET 2005 that's in the default "flow layout". I have a dropdown list box followed by HTML break- return <brtags and two two text boxes, below the text boxes I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.