Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3833

GetSaveFolderItem - Invoking with a new file name not in a directory

$
0
0

I am using OpenDialog as a replacement for GetSaveFolderItem. I am using the former because I need the ability to use InitialFolder to set where I want to store a file. The problem I have is that as a “Save As” function, I need dlg.ShowModal to not give me a “file not found” pop-up when I press the “Action” button in the Save window when the file doesn’t exist. I set SuggestedFileName to the filename I want to either create or write over.
GetSaveFolderItem. worked fine for creating the file if it needed to, but it had no option in setting the default directory.
Any ideas?

8 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3833

Trending Articles