[Lazarus] What GetChildParent does in designer and reader?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Mar 3 22:56:27 CET 2014


On Mon, 3 Mar 2014 16:47:30 -0300
Fabio Luis Girardi <fluisgirardi at gmail.com> wrote:

> Hi!!
> 
> Attached the code of my prototype of TDBCtrlGrid. It works as expected on
> Delphi (except the function GetDesignerDropTarget that don't exists on
> Delphi TWinControl), but it don't works as expected on Lazarus.

On second thought the LCL method is not very flexible.
I added a general designer event.

See
http://wiki.lazarus.freepascal.org/Extending_the_IDE#Example:_When_dropping_a_new_component_move_control_to_a_child

Please test.

Mattias




More information about the Lazarus mailing list