FlowLayoutPanel control reordering

J

JezB

I'm trying to implement drag/drop reordering of controls within a
FlowLayoutPanel. I'm doing this by using the SetChildIndex and GetChildIndex
methods of the panel. This works up to a point but then I notice things
become somewhat de-synchronized, and the flowlayout panel refuses to be
updated with the new order.

Am I doing it the right way? Is this a bug ?
 
J

JezB

No it wasn't a bug. Found out I was exiting a try block and didn't set
ResumeLayout back on the panel!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top