requestfile : Save As Type

BlitzMax Forums/BlitzMax Programming/requestfile : Save As Type

tonyg(Posted 2006) [#1]
Using the Requestfile command with the save flag, how do you act on the information in the 'Save As Type' field?
If I want to save as, for example, PNG or BMP, how can I
know which format the user chose and append it to my filename?


SebHoll(Posted 2006) [#2]
That's a good question - I have wondered this and didn't manage to find an answer. I therefore resulted in just having separate file requesters for each format. Mind you, I only had 2 to do so it wasn't too bad.

It might be a case of putting this in bug reports - getting the requestor to automatically append the file extension selected onto the end of the filename.


tonyg(Posted 2006) [#3]
I'll give it a go.


degac(Posted 2006) [#4]
[deleted]
...I read now the bug forum - I'm arrived too late!!!