Hi,
As you mentioned, I'v tried to get "Controls Property" from "Button" but I
can find!?
I'm not very clear about your concept.
My scenario:
1.Put Button1 on form1;
2.Put Button2 over Button1;
3.User "Button2.Parent" to find Button2's parent;
4.I got "form1" , not "Button1"!
If the same scenario but change "Button1" to "Panel1" then I'll get
"Panel1" as Button2's parent.
So if I want to make "Button1" as Button2's parent, how can I do?
Thanks for your kind response!
Morten Wennevik said:
Hi Stan,
Basically all Controls can be containers as Control has a Controls
property. You can put a button inside another button if you like. Or a
TextBox that has Button with another TextBox inside of it.