Peter,
You might have to subclass the dialog - ie., trap the WM_XXX messages and
physically change the contents of the textbox. Ugly, but not impossible.
Regards,
Dennis.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Peter Hyde
> Sent: Tuesday, 21 December 1999 10:13
> To: Multiple recipients of list delphi
> Subject: [DUG]: TSaveDialog
>
>
> Hi there,
> We have an app which uses TSaveDialog to specify the
> filename to save-and-convert. With the dialog open, when the
> user changes the filter type (specifying a different image
> type/extension), we want the filename shown to grow a different
> extension.
>
> That is, say it says XXX.BMP and the user selects "JPEG" from
> the filter list. We want the filename to change to XXX.JPG
> programmatically.
>
> We can't find a way to make the dialog do that by itself, and we
> can't alter the Filename property programmatically either (that's
> spec, according to the D4 help). Yet I've seen the right behaviour
> in other apps. Did they rewrite the control from scratch or have
> we missed something easy?
>
>
> cheers,
> peter
>
> ============================================
> Peter Hyde, WebCentre and SPIS, Christchurch, New Zealand
> * Web automation for online periodicals: http://TurboPress.com
> * TurboNote: http://TurboPress.com/tbnote.htm
> -- small, FREE and very handy
> --------------------------------------------------------------
> -------------
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz