Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Mar : PromptForFileName

www.cryer.info
Managed Newsgroup Archive

PromptForFileName

Subject:PromptForFileName
Posted by:"Steve Weston" (sweston{no spam}@westonmuir.com)
Date:Tue, 18 Mar 2008 06:13:30

It seems that the PromptForFileName function in the Dialogs unit (BDS2007)
only returns a False result without displaying the Save As dialog when the
AFileName var contains an invalid value (i.e. has a slash char in it). Is
there some function that will validate a file name string; or, strip invalid
chars from a file name string?

--
Steven S. Weston

Replies:

www.cryer.info
Managed Newsgroup Archive