Hi Giuliano,

I think you misunderstood the problem. The 'dirsel' unit in the LCL
already creates a treeview structure of directories. A patch of mine
just got committed which fixed a whole bunch of issues under Linux.

Anyways, my problem is this.  The TSelectDirectoryDialog for GTK1 uses
the TFileOpen dialog, because GTK1 doesn't have a native Select
Directory dialog. My proposal is to use the dirsel unit instead of the
TFileOpen dialog under GTK1.

That means whenever I use the TSelectDirectoryDialog, internally it
actually uses the dirsel unit (treeview of directories). My problem
is, I have no idea how to do that in the LCL code.

Regards,
 - Graeme -

PS:
Your first email came directly to me, instead of the mailing list.  I
replied back to the mailing list for others to see.



On 22/06/07, Giuliano Colla <[EMAIL PROTECTED]> wrote:

I've implemented a similar functionality with Lazarus in an application
that I called Kmc, because it mimics the mc behavior. I enclose a
screenshot. The left window provides a dirsel functionality. If you
believe it can be of some use to you, I may send you the sources. The
code is far from clean, because it's a multi adaptation (from Delphi 3
to Delphi 5, then to Kylix 1, then to Kylix 3, then to Lazarus).


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to