[DUG] Qs on Component Parenting

Rohit Gupta rohit at cfl.co.nz
Mon Sep 21 14:18:52 NZST 2009


I am creating a component inherited from TCustomPanel.  It has another 
Tcustompanel inside it.  When components are dropped at design time, I 
want them to be dropped on the internal panel.

I am guessing I have to fiddle with the WM_NC messages to restrict the 
client area.  But how do I coax the child controls parent property to 
the desired parent ?





More information about the Delphi mailing list