Maptitude GISDK Help |
Determines whether a map has changed since it was last saved to a file.
flag = GetMapSaveFlag(string map_name)
Argument |
Contents |
map_name |
The name of the map, or null for the current map |
The string "True" if the map has changed and needs to be saved; the string "False" if it has not changed since it was last loaded from or saved to a file.
The save flag is set automatically whenever the map is changed, but the user is not prompted automatically when the map is closed. Use GetMapSaveFlag() to determine whether or not to prompt the user about saving the map.
if GetMapSaveFlag() = "False" then goto ok_to_quit
// Prompt the user to save the contents before quitting...
Error Type |
Meaning |
NotFound |
The specified map does not exist |
Function |
Summary |
Sets the flag that indicates whether a map has changed since it was last saved to a file |
|
Determines whether a layout has changed since it was last saved to a file |
|
Determines whether an editor has changed since it was last saved to a file |
|
Saves settings for a map window to a file on disk |
|
Open a map file and display it in a map window |
©2025 Caliper Corporation | www.caliper.com |