[Lazarus] Codebrowser, Search Identifier (was fpc-devel: procedure ... message(); in Linux)
Juha Manninen
juha.manninen at phnet.fi
Mon Mar 1 22:03:55 CET 2010
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
More information about the Lazarus
mailing list