[Lazarus] ide.lpk 's project.pp and freepascal project.pp, same filename problem

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 23 10:37:37 CEST 2013


On Sun, 22 Sep 2013 22:41:27 +0300
FreeMan <freeman35 at delphiturkiye.com> wrote:

> I need root component of file, that link has a screenshot, my 
> component's code and form on there.
> /ThePropertyEditorHook.LookupRoot := AComponent;///TUnitInfo.Component I 
> need this

To select a component use

http://wiki.freepascal.org/Extending_the_IDE#Select_a_component_in_the_designer.2Fobject_inspector

This will automatically set the correct LookupRoot.


To get the form of a file see here:
http://wiki.lazarus.freepascal.org/Extending_the_IDE#Get_unit.2C_designer.2C_form_of_a_file

Mattias




More information about the Lazarus mailing list