Guadagnini David wrote:

I note that in Lazarus the component TDirectoryListBox is not present.
I need a similar component that allows you to select the directory from code.

There was a file (with form and resource files) called lcl/dirsel.pas but it was deleted in r19376 for some reason.

You can still get to it by checking out r19375 of lcl/dirsel.{pas;lfm;lrs}


http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/dirsel.pas?view=markup&root=lazarus&pathrev=19375


Or you can look at the components/filebrowser/ which also contains a directory selection treeview which supports having a predetermined directory selected.

Hope that helps.


Regards,
  - Graeme -

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/


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

Reply via email to