[Lazarus] Initialization of an own component by "Save Project As ..."

Michael W. Vogel m-w-vogel at gmx.de
Wed Sep 16 09:53:34 CEST 2015


I have a own component where I store a log filename with a relative path 
of my project.

This works fine with a own property editor. There I open a TSaveDialog 
and remove the ProjectPath ( FProjectPath := 
ExtractFilePath(LazarusIDE.ActiveProject.MainFile.Filename); ) from the 

Now I have the problem, if I change the path of my project (Project -> 
Save Project As ...) the realative path is saved further in the 
component log filename (where a relative directory maybe not exists).

Is there a way to detect this changing, so that I can automatically 
initialize my component?

Thank youinadvance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150916/32dc23b3/attachment-0002.html>

More information about the Lazarus mailing list