By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,169 Members | 1,417 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,169 IT Pros & Developers. It's quick & easy.

Flowlayoutpanel limits

P: n/a
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 allocated enough
room in the frame. There's just no button visible after button 310.

This is not a frivolous question as I'm using flowlayoutpanel for a
photoview layout in a home inventory program.

Any help would be much appreciated.

Thank you,

Liam Johnstone

Apr 4 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
While I didn't figure out why FlowLayoutPanel doesn't draw the items below a
certain point, I found a workaround.
Attach an event handler to Scroll, where you perform
FlowLayoutPanel.PerformLayout() and it will draw the controls when you get to
them.
Looking at it now, it seems pretty obvious. Ah well...

"Liam J" wrote:
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 allocated enough
room in the frame. There's just no button visible after button 310.

This is not a frivolous question as I'm using flowlayoutpanel for a
photoview layout in a home inventory program.

Any help would be much appreciated.

Thank you,

Liam Johnstone

Apr 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.