Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-07

[Component] Directory Browser

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Guadagnini David

Dear,

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.
I note the component TShellTreeView but this does not allow us to move on a folder at the startup

Some Idea?

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090717/241cd080/attachment.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: sw_dept.vcf
Type: text/x-vcard
Size: 257 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090717/241cd080/attachment.vcf>

Reply by email

Graeme Geldenhuys
to Guadagnini David
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/

Reply by email

Marc Weustink
to Graeme Geldenhuys
Graeme Geldenhuys wrote 10 lines
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}

There probably was a reason to remove it in r19325, but the commit log doesn't show why.

Marc

Reply by email

Graeme Geldenhuys
to Marc Weustink
Marc Weustink wrote 5 lines
> > You can still get to it by checking out r19375 of lcl/dirsel.{pas;lfm;lrs} There probably was a reason to remove it in r19325, but the commit log doesn't show why.

Paul, anything you would like to share? :)

I thought that component was pretty handy, considering that not all platforms have a native "Select Directory" dialog.

I remember in GTK1 the "File Open" dialog was used to select Directories
- what a nightmare that was. Plus confusing as hell to the users.

Regards,
- Graeme -

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

Reply by email

Paul Ishenin
to Graeme Geldenhuys
Graeme Geldenhuys wrote 9 lines
Marc Weustink wrote: >> >> You can still get to it by checking out r19375 of >> lcl/dirsel.{pas;lfm;lrs} > > There probably was a reason to remove it in r19325, but the commit > log doesn't show why. Paul, anything you would like to share? :)

It was not was not maintained for a very long period.

Show quoted text 6 lines
I thought that component was pretty handy, considering that not all platforms have a native "Select Directory" dialog. I remember in GTK1 the "File Open" dialog was used to select Directories - what a nightmare that was. Plus confusing as hell to the users.

Every widgetset interface implements this dialog using own you need this component please add it to our ccr repository.

Best regards,
Paul Ishenin.

Reply by email