I think you can do this with Lazarus using "SelectDirectory". An example:

procedure TForm1.Button1Click(Sender: TObject);
var
 directory : string;
begin
 SelectDirectory('Select A Directory', '', directory);
 Label1.Caption := directory;
end;

I know it works in GTK as well as Windows, because I just tested it.
The GTK1 interface isn't a pretty tree like the Windows one, GTK2
might be better.

Hope that helps

-Seth Grover

On 1/29/07, Arí Ricardo Ody <[EMAIL PROTECTED]> wrote:
I would like show files and directories(that are under the current
one) in the right window of a TOpenDialog. How can I do to get this
effect and still select(or not) the directories showed in this right window?

Should I use another component?

Greeings from Sao Paulo - Brazil

Ricardo


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



--
Seth Grover
sethdgrover[at]gmail[dot]com
http://grovers.us/seth

I'm a driver, I'm a winner. Things are going to change, I can feel it.

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

Reply via email to