[Lazarus] What GetChildParent does in designer and reader?

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 27 14:07:15 CET 2014


On Thu, 27 Feb 2014 09:32:31 -0300
Fabio Luis Girardi <fluisgirardi at gmail.com> wrote:

>[...]
> No. Lazarus allow me to add a child to my control, but I want redirect
> these childs to use a Panel inside of my TCustomControl as their parent.

I see. There is no function yet, to redirect designer drops. Components
can only accept or refuse.

Maybe a method can be added to TWinControl:

function GetDesignerDropTarget(aControl: TControlClass): TWinControl;
virtual;


Mattias




More information about the Lazarus mailing list