Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   openpicture dialog tools (https://www.delphipraxis.net/150995-openpicture-dialog-tools.html)

xxsasch4xx 2. Mai 2010 20:56


openpicture dialog tools
 
weiss einer wie das beim openpicturedialog geht dass man bilder nur aus dem hauptvereichniss auswählen kann
also ausm root
oder wie man das einstellt dass der standartmäßig da reinspringt ins hauptvereichniss wenn man auf "bild laden" klickt
und net auf den desktop geht oder sowas

Klaus01 2. Mai 2010 20:59

Re: openpicture dialog tools
 
Guten Abend,

hast Du dir schon Delphi-Referenz durchsuchenTOpenPictureDialog.InitialDir angeschaut?

Grüße
Klaus

xxsasch4xx 2. Mai 2010 21:08

Re: openpicture dialog tools
 
ok das geht so
danke

xxsasch4xx 2. Mai 2010 21:46

Re: openpicture dialog tools
 
eigentlich war es mein anliegen nach verschiebn des programmes auch immer noch die einstellung des openpicturedialogs mit zu verschieben
das geht ja nicht wenn man da son pfad reinschreibt oder?

Klaus01 3. Mai 2010 07:46

Re: openpicture dialog tools
 
Guten Morgen,

das InitialDir kannst Du auch zur Laufzeit setzen.
Mit ExtractFilePath(Paramstr(0)) bekommst Du das Verzeichnis
Deiner Applikation heraus.

Grüße
Klaus


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:09 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