Question Prevent certain ToolBox drops

Black Monkey

New member
Jun 14, 2021
Programming Experience
Hello all.
I'm new to this forum, so smack me, if I do something stupid.

I have a control, that I don't want to be parent to other controls of its own class.
By adding a ParentDesigner with the Function CanbeParentedto(), I achieve this for controls being dragged on it from the form.
But controls dropped from the Toolbox, are still being parented.
Thank in advance for any suggestions...
Top Bottom