G
Guest
Hey, created a custom control that includes a panel. I want to use the panel
as a container for other controls I drag into the custom control in designer.
I can't seem to find any information on how to do this. I've extended
UserControl and SetStyle containercontrol to true, but this doesn't work. I
think I'll have to trap for drag/drop events, test to see if I'm in the
design environment, cast the drag/drop object to a control and then stick it
in the panel. I'm just hoping that there is an easier way....
as a container for other controls I drag into the custom control in designer.
I can't seem to find any information on how to do this. I've extended
UserControl and SetStyle containercontrol to true, but this doesn't work. I
think I'll have to trap for drag/drop events, test to see if I'm in the
design environment, cast the drag/drop object to a control and then stick it
in the panel. I'm just hoping that there is an easier way....