Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
482 Beiträge
 
Delphi XE6 Professional
 
#1

Save dialog - update file extension in dialog on type change

  Alt 11. Jul 2011, 13:32
Delphi-Version: 2010
How can I update file name in dialog on type change?

Delphi-Quellcode:
procedure OnTypeChange(...);
// Set DefaultExt here...
// Update file name:
SaveDialog.FileName := ChangeFileExt(SaveDialog.FileName, SaveDialog.DefaultExt);
But looks to not occur when type combobox is changed.

How can do it?
  Mit Zitat antworten Zitat