R593B
R593B

Reputation: 59

Forms designer : How to make a control ignore a flowlayoutpanel?

When using the forms designer I ran into a small problem (I could solve this with code but I wondered if there's an easy way.)

I have a flowlayoutpanel and when I drag a new control on it (for example a label) it will give it a position in the flowlayoutpanel and I am unable to move it other then changing the order with other controls.

The question : Is there a way to add a control on top of a flowlayoutpanel ?(So ignoring the auto arrangement.)

Extra info : The reason I want to know this is because I am using the height of the flowlayoutpanel for the creating other forms and I rather keep that code as is.

Upvotes: 1

Views: 204

Answers (1)

NoName
NoName

Reputation: 8025

One way is use arrow keys. Place your control out side flowlayoutpanel then use these keys to move it to top of flowlayoutpanel.

You can combine it with Ctrl key, which some times turn out very helpful because it will move you control to the places which one of your control borders is on samle line with one of other controls.

One other way, you can set Location for control directly, if you know the exactly where the control should being add.

Upvotes: 1

Related Questions