Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi verhalten von TSaveDialog... (https://www.delphipraxis.net/10225-verhalten-von-tsavedialog.html)

glkgereon 21. Jan 2005 19:28

Re: verhalten von TSaveDialog...
 
also, ich hab jetzt das selbe problem, und habe folgenden ansatz:

Delphi-Quellcode:
procedure TForm_Main.SaveDialogTypeChange(Sender: TObject);
var Temp:TStringDynArray;
    Dialog: TSaveDialog;
begin
  Dialog:=TSaveDialog(Sender);
  Temp:=Explode('|',Dialog.Filter);
  Dialog.FileName:=ExtractFileDir(Dialog.FileName)+ExtractFileName(Dialog.FileName)+Temp[Dialog.FilterIndex*2-1];
end;
nur es verändert sich nichts...
warum gibt es weder Dialog.Refresh noch Dialog.Update????


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:10 Uhr.
Seite 2 von 2     12   

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