Autor Beitrag
aXiEd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Sa 26.02.05 16:10 
Wie krieg ich GENAU diesen Dialog hin?
user defined image
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Sa 26.02.05 16:15 
Guckst Du hier. :-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
aXiEd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Sa 26.02.05 16:25 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TfrmMain.btnSelectSourceFolderClick(Sender: TObject);
var FB: TFolderBrowser;
begin
  FB := TFolderBrowser.Create(hwndDlg, 'Ordner wählen',
                              'C:\');
  edtSourceFolder.Text := PicturesFolder;
end;


Bei diesem Aufruf bekomme ich folgende Fehlermeldung:
[Error] UMain.pas(61): E2003 Undeclared identifier: 'hwndDlg'
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Sa 26.02.05 16:33 
Für das hwndDlg musst Du das Handle Deiner Form eintragen.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
aXiEd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Sa 26.02.05 16:38 
Ich hab leider nicht viel Ahnung von Handels... Wie geht denn das? ;)
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Sa 26.02.05 16:46 
frmMain.Handle gibt Dir das Handle Deiner Form zurück. ;-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
aXiEd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Sa 26.02.05 16:54 
OK, funktioniert jetzt einwandrei, danke! :shock: