On Thu, 2 Sep 2004, S�ren Breddam wrote:

> Another one for you: How do I specify the folder that I want my users to
> save the current workspace in and then let them type in a name of their own
> choice?
> When I run 'Run Menu Command M_FILE_SAVE_WORKSPACE' the path is not
> unambiguous. I think a user is promted to save a workspace at the last
> folder that has been used by the user or something like that...
> I want them to start in a specified folder (where they are allowed writing -
> it's also more convenient).
> 
> Is that possible? Is there a workaround?

If you're using MapBasic, use the FileSaveAsDlg() function to get the user 
to tell you where s/he wants to store the workspace. If you just want to 
have them pick a folder, then that's going to take one or more Windows API 
calls.

- Bill Thoen



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13191

Reply via email to