Click or drag to resize
CSYSShowError Method
Display any errors to the user.

Available since Oasis montaj version: 5.0.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
If you call a GX from another GX using iRunGX_SYS, and the called GX registers errors, they will not be displayed until after the "top" GX exits. If you wish to continue without exiting, call this function so that errors are displayed immediately to the user. For instance, when creating a new map from inside another GX: --- Run NEWMAP wizard. Keep trying if something is wrong (like a too-small map scale), but exit if the user cancels (iRet==-1) --- do { iRet = iRunGX_SYS("newmap.gx"); if(iRet==1) ShowError_SYS(); // Dump errors. } while(iRet==1); This wrapper is not intended for use outside a GX, because it uses the GX run-time machinery to display the error messages.
Syntax
public static void ShowError()
See Also