Enable custom control to be editable or intreactive in Design Mode
-
I've created a custom control named MyCs. I added the MyCs control to My Form1 and called it MyCs1. Now I want to add Control to MyCs1 in design mode. i.e. to drag a text box and add it to MyCs1. (Such as what you do on panel control) When I try it; the TextBox is added to Form1 and not to MyCs1. Any ideas?
-
I've created a custom control named MyCs. I added the MyCs control to My Form1 and called it MyCs1. Now I want to add Control to MyCs1 in design mode. i.e. to drag a text box and add it to MyCs1. (Such as what you do on panel control) When I try it; the TextBox is added to Form1 and not to MyCs1. Any ideas?
-
You probably need to inherit from a
ContainerControl
such asContainerControl
orUserControl
.xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 3 out nowYou go leppie, keep those useless 1 answers coming.
-
You go leppie, keep those useless 1 answers coming.
-
Huh? :confused:
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 3 out nowSomebody una-voted you on your answer above.
-
Somebody una-voted you on your answer above.
-
I dont see how it was useless though...
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 3 out nowNeither do I, now go Google 'sarcasm'. ;P
Semicolons: The number one seller of ostomy bags world wide. - dan neely