On Fri, 11 May 2012 16:37:34 +0200 Krzysztof <[email protected]> wrote: > Hi, > > I have own component editor which inherit from TComponentEditor. I > have connected it to the control. Everything works fine, my form > dialog pop up when I double click on control or from context menu. But > my form dialog have filelistbox and I want that it point to some > subfolder of this control package. How can I do that? I think this is > possible because lazarus can do this: when I open some installed > package and try to open some file, open dialog point to current opened > package.
The paths are not compiled in. The IDE knows the path, because it has a history of lpk files. See ~/.lazarus/packagefiles.xml Another possibility is to pass the package path via run / run parameters / environment / user overrides Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
