On Sun, 22 Sep 2013 22:41:27 +0300 FreeMan <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
