Hello Chris,
No mistake, Try to open a unformatted disk in your CDROM and you will get the
error I earlier described. There was meant to be able to be overcome by
SetErrorMode but wouldnchaknowit - WinXP does not seem to want to know about
that one so I have rolled my own. What I did to parse the filename was not use
the maskedit properties but the following which I think will be near enough?
The maskedit is in a modal form, which is closed MrOK or MrCancel:
if ((extractfilename(maskedit1.Text) = '')
or (pos('\',maskedit1.Text)=0)
or (pos(maskedit1.Text, '[EMAIL PROTECTED]&[()]')>0))
then maskedit1.Text := '' //try again this entry or:
else ModalResult := MrOK;
Any punters on the above - I could just as easily have used an edit instead.
Friday, July 4, 2003, 8:26:34 AM, you wrote:
CR> This is looking like a mistake. Tell us again what is wrong with the save
CR> dialog.
--
Regards,
Alistair+
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/