FlowLayoutPanel control reordering

  • Thread starter Thread starter JezB
  • Start date Start date
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 ?
 
No it wasn't a bug. Found out I was exiting a try block and didn't set
ResumeLayout back on the panel!
 
Back
Top