473,471 Members | 4,650 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# and FlowLayoutPanel

7 New Member
Hello.
Is there a way to use a FlowLayoutPanel and be able to change the FlowDirection every time it goes on a new row? (I also need to have WrapContents enabled). What I want to obtain is something like a snake effect as in if a have a FlowLayoutPanel expanded on 5 rows for example, I need it to have the FlowDirection LeftToRight on the first row, RightToLeft on the 2nd, LeftToRight on the 3rd and so on. Or maybe could someone point me towards another approach.
Thanks in advance. Bye!
May 5 '07 #1
2 5056
samentu
7 New Member
No opinions yet? :(
May 7 '07 #2
JanOlMajti
3 New Member
The TableLayoutPanel may be a better solution for you - it has built in support for auto-sizing columns and rows, as well as auto-size for the whole panel
Feb 22 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Sin Jeong-hun | last post by:
If FlowLayoutPanel's AutoScroll is set to true, there appears a scroll bar on the right. Normally, users would expect the contents is scrolled while they are dragging the scroll bar. Well, it does,...
1
by: NickP | last post by:
Hi there, I am trying to implement drag and drop reordering of controls that are placed in a FlowLayoutPanel control but unfortunately as the control collection doesn't have an "insert" method I...
1
by: Liam J | last post by:
Is there an upper limit on what FlowLayoutPanel will display? I wrote a test that adds 395 buttons to a flowlayoutpanel and it stopped displaying them after button 310, cutting 310 in half. It...
1
by: cris.b | last post by:
There's a way to descrease the space between the controls managed in a FlowLayoutPanel? Or that space is fixed? Thank's in advice
3
by: ThunderMusic | last post by:
Hi, I want to make a toolbox form (like the one in Adobe Photoshop), so I would like to put many buttons one beside the others (beside, over and under, just like the toolbox in photoshop). I...
1
by: Steve Richter | last post by:
I have a form. In the Form is a MenuStrip and a FlowLayoutPanel. In the FlowLayoutPanel is a ListBox. The FlowLayoutPanel is set to DockStyle.Fill. The ListBox is set to AnchorStyles.Left |...
4
by: Rob | last post by:
I have created a user control that has several buttons on it..... The code below appears to add an instance of this user control to the Flow Layout Panel just fine... Private Sub...
1
by: sklett | last post by:
I've read several articles/blogs/threads about anchoring/docking child controls in a FlowLayoutPanel. It sounds like it *should* work, but I can't get it to work for the life of me. Jon Skeet: ...
0
by: Jure Bogataj | last post by:
Hello! I have a FlowLayoutPanel placed on a form, and I'm filling it with some custom-panel controls (containing label and two checkboxes). The problem is, I want to hide horizontal scrollbar. I...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.