Hi All,

I have a SdfDataSet component in my project. It works well, but I
can't load a file at designtime without an absolute path.
I need to specify (on "FileName" property) the full path e.g.:
c:\mypath\build\file.txt and change it at runtime e.g.
SdfDataSet1.FileName:= Application.Location+'file.txt';

How can I use relative path at designtime? (I build the project in a
sub-dir of lpi file)

It is nasty, because I'm developing it on two pc with different paths.


Thanks,
Kjow

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

Reply via email to