Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#4

Re: AW: Save dialog - update file extension in dialog on type change

  Alt 12. Jul 2011, 08:04
The following code in the OnTypeChange event handler
will do it:

WITH SaveDialog
DO BEGIN
SendMessage(GetParent(Handle),cdm_SetControlText,E dt1,
Integer(PChar(ExtractFileName(file_id))));
SetWindowText(GetParent(Handle),PChar(Title))
END
@Sailor, what is "Edt1", "file_id" and "Title"?
  Mit Zitat antworten Zitat