Hi,

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 TSaveDialog.FileName.

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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to