Problem with the SaveFileRequester command

Just starting out? Need help? Post your questions and find answers here.
Lucifer
User
User
Posts: 26
Joined: Wed Apr 30, 2003 6:11 pm
Location: UK

Problem with the SaveFileRequester command

Post by Lucifer »

I’ve got a problem with the SaveFileRequester. When I use this command and type a filename without an extension followed by enter I get the filename returned but no extension attached as selected in the type box.

I can’t just test to see if an extension is in the filename and add one if not as I have about 3 types to choose from and they all perform formatted outputs according to type.

Is this a common problem? Am I doing something wrong? Any way of returning the selected file type so I can add manually if needed?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Re: Problem with the SaveFileRequester command

Post by GPI »

Thats normal and no bug.
You can found out, which pattern the User choose:
SelectedFilePattern()

GPI

p.s.: RTFM (And this time, i read the message cearfully!)
Lucifer
User
User
Posts: 26
Joined: Wed Apr 30, 2003 6:11 pm
Location: UK

Post by Lucifer »

Many thanks and next time I will try to RTFM closer :twisted:
Post Reply