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

Automatically change to a new parent when control is moved over it

$
0
0

I will try to explain this as best as I can.

I made my own custom groupBox Control.  How do I make it so when I add a button or anything to it that it will be on top so it's visible and move when I move the control groupBox arround?  I'm sure it has to do with parents and children.  I have a way to do it in my head by getting child at point, but that may interfere with other controls such as when a button by accident gets added over another button.

Some notes.  I am also using a custom form control that I created.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



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