RequestFile + chosen name

BlitzMax Forums/BlitzMax Programming/RequestFile + chosen name

iprice(Posted 2008) [#1]
I'm currently finishing off writing a drawing package for ANSI artists to create ANSI imagery for games/title screens etc.

[EDIT] LINK REMOVED. Sorry.

Whilst I've got loading and saving all in and working properly, I would like to be able to automatically place a title of my choice in the "File name" space provided, rather than having to type something in, but allow the user to change this if they wish. (Like if you click Save in MSPaint it will place "Untitled" in the File Name space).

I'm currently using -
  filename$=RequestFile( "Save ANSI file as",filter$,True )


Is there an easy way of doing this?


Yan(Posted 2008) [#2]
Yep...
filename$ = RequestFile("Save ANSI file as", filter$, True, "Untitled.ext")

:o)


iprice(Posted 2008) [#3]
Fantastic. Thankyou Yan :)