Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

FlowLayoutPanel issue that doesn't happen on a regular Panel with the same usercontrol...Blue Box and focus bringing to the front.

$
0
0

After creating a User Control that works fine in a regular panel when editing, the control acts quite differently when placed on a FlowLayoutPanel.

When a different User Control is selected or gains focus, it then goes to the top of the FlowPanel, and also has a blue box below it.  

I would like to get rid of this "blue box" and stop the functionality from moving the User Control to the top of the screen when it gains focus.

Is there a property on the FlowLayoutPanel that I'm missing?

I've tried docking alignments, even tried panel.Invalidate(true).

Any idea what might be going on with the FlowPanel and why it acts differently than the regular Panel to this degree?

Thanks!

VS2012

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>