Sign in to follow this  
Followers 0
Joscpe

SaveDialog Filters

15 posts in this topic

I have A FileSaveDialog() with the filters, Text(*.txt), Ini(*.ini), HTML(*.htm) and All(*.*). How can I get it to add the filter on the end of the file when they press Save so they dont have to type it in?


-Joscpe

Share this post


Link to post
Share on other sites



Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Dose This Help?

FileSaveDialog("save", @ScriptDir, "Text Files (*.txt) |Ini (*.ini) |HTML (*.htm) |All(*.*)")

All you have to do is seperate the filetypes with |

I already have that part, I just want it to add the extention to the end of the file automaticaly for them.

-Joscpe

Share this post


Link to post
Share on other sites

I know what you mean.

You have to add the *.txt extension yourself, dont you? I have that same problem in BetaPad, I'm not sure how to fix it though, so this would be useful to me aswell.

Secure

Share this post


Link to post
Share on other sites

You would still need to figure out which Filter they chose...

I don't think its possible :P:D


-Joscpe

Share this post


Link to post
Share on other sites

I guess I could always make my own save dialog, but it would look pretty crapy... :)


-Joscpe

Share this post


Link to post
Share on other sites

So, is there no way to do it?? :)

Should i just give up?


-Joscpe

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0