<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-27 11:14 GMT-03:00 Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Thu, 27 Feb 2014 10:26:04 -0300<br>
<div class="">Fabio Luis Girardi <<a href="mailto:fluisgirardi@gmail.com">fluisgirardi@gmail.com</a>> wrote:<br>
<br>
> 2014-02-27 10:07 GMT-03:00 Mattias Gaertner <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>:<br>
><br>
> > On Thu, 27 Feb 2014 09:32:31 -0300<br>
> > Fabio Luis Girardi <<a href="mailto:fluisgirardi@gmail.com">fluisgirardi@gmail.com</a>> wrote:<br>
> ><br>
> > >[...]<br>
> > > No. Lazarus allow me to add a child to my control, but I want redirect<br>
> > > these childs to use a Panel inside of my TCustomControl as their parent.<br>
> ><br>
> > I see. There is no function yet, to redirect designer drops. Components<br>
> > can only accept or refuse.<br>
> ><br>
> > Maybe a method can be added to TWinControl:<br>
> ><br>
> > function GetDesignerDropTarget(aControl: TControlClass): TWinControl;<br>
> > virtual;<br>
> ><br>
><br>
> Yes, and by default it returns Self, and if it was override, this function<br>
> returns the new parent of child controls? This is your idea?<br>
<br>
</div>Yes. You are reading my mind.<br>
<div class=""><div class="h5"><br></div></div></blockquote><div>hahahahahahah right... More mind reading: aControl parameter will be the control being inserted?</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5">
<br>
Mattias<br>
<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>The best regards,<br><br>Fabio Luis Girardi<br>PascalSCADA Project<br><a href="http://sourceforge.net/projects/pascalscada" target="_blank">http://sourceforge.net/projects/pascalscada</a><br>
<a href="http://www.pascalscada.com" target="_blank">http://www.pascalscada.com</a>
</div></div>