Autor Beitrag
Newcomer91
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22



BeitragVerfasst: Mo 15.03.10 09:23 
Ich habe da eine Frage zum OpenDialog.

Ich habe ein Programm programmiert mit welchem man Items in Listboxen hinzufügen kann welche gleichzeitig in ner seperaten Ini datei gespeichert werden. Nun möchte ich einen Verzeichnis button erstellen mit welchem ich einen Auswahl Dialog öffne.

Sinn dieses Buttons: man klickt auf den button, öffnet nen explorer und kann dann Pfade auswählen, z.B. C:\Programme\bla ^^
Wie muss ich das formulieren im quelltext?

Ich freue mich über jeden hilfreichen Kommentar ;)

Liebe Grüße

Newcomer91


Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mo 15.03.2010 um 11:12
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 15.03.10 09:27 
Das geht mit dem Dialog nicht (sinnvoll). Dafür gibt es Suche in der Delphi-Reference SELECTDIRECTORY oder SHBrowseForFolder.
ssb-blume
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 375
Erhaltene Danke: 7

XP, W7, W8
Deutschland
BeitragVerfasst: Mo 15.03.10 09:55 
Hallo
Schau mal unter "selectdirectory" nach!

_________________
Brain: an apparatus with which we think we think.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 15.03.10 11:47 
user profile iconssb-blume hat folgendes geschrieben Zum zitierten Posting springen:
Schau mal unter "selectdirectory" nach!
Hab ich doch schon eine halbe Stunde vorher inklusive Link zur Referenz geschrieben. :gruebel: :rofl: ;-)
ssb-blume
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 375
Erhaltene Danke: 7

XP, W7, W8
Deutschland
BeitragVerfasst: Di 16.03.10 09:35 
Sorry, man kann schon mal die Augen nicht richtig aufmachen..

_________________
Brain: an apparatus with which we think we think.