Click or drag to resize

CEMAPCurrentAllowCancelOnBrowse Method

This method returns the Current Edited map, with special behaviour

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2025.1.0.25
Syntax
public static CEMAP CurrentAllowCancelOnBrowse()

public static CEMAP CurrentAllowCancelOnBrowse()

Return Value

Type: CEMAP
EMAP Object. If there is no current map, the user is prompted for a map. If the user cancels from the browse, 0 is return.
Remarks
If there is no current Current map, and the user cancels out of the browse for map dialog", then 0 is returned, which needs to be handled, otherwise the current map is returned. Normally (for Current_EMAP), the GX will be terminated on Cancel from the browse dialog.
See Also