One clarification: The InitialDirectory for selecting images is set when the unit directory changes. Usually it is the package directory. When an icon is selected from another directory, the code relies on OS / widgetset to remember the new path and use it next time the dialog opens. It works with GTK2 and QT. Does it work the same way with all widgetsets, I am not sure.
Juha -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus