Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi DirectoryListBox - Sprung (https://www.delphipraxis.net/1077-directorylistbox-sprung.html)

Gast 15. Okt 2002 10:19


DirectoryListBox - Sprung
 
Hi,
In meiner DirectoryListBox werden Ordner angezeigt.

Nun beim Start des Programms möchte ich, dass direkt in einen bestimmten Ordner gesprungen wird...

z.B.: C:\Delphi\Test

Wie mache ich es?

Gruß

Paul Jr.

jbg 15. Okt 2002 10:27

In OnCreate schreibst du
Code:
DirectoryListBox1.Directory := 'C:\WINDOWS';

Gast 15. Okt 2002 10:38

Jo!

Danke jbg 8)

Gruß

Paul Jr.


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:59 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz