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"?