Autor Beitrag
csigg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Fr 29.04.05 09:54 
Ich habe meinem OpenDialog
ausblenden Delphi-Quelltext
1:
OpenDialog1.DefaultExt := '.gdb';					

hinzugefügt.
Aber es erscheint nicht im Dialogfeld. In der Hilfe ist
nur ein Beispiel von einem .bmp aber das hilft mir nicht viel weiter, wie bekomm ich die
.gdb da rein??
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Fr 29.04.05 10:06 
Default Ext bestimmt ja auch nur, welche Dateiendung standardgemäß verwendet werden soll ;). Die möglichen Dateiendungen musst du in Filters angeben (ich glaube, die Property heißt so, hab grade kein Delphi da)

AXMD
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Fr 29.04.05 10:18 
OK, danke.

So hats geklappt:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
OpenDialog1.DefaultExt := 'gdb';
OpenDialog1.Filter := 'Datenbank (*.gdb)|*.GDB';
OpenDialog1.Execute;
edtDBName.Text := OpenDialog1.FileName;