Field-Map Scripting

4.4.1.37 EnableScripts

EnableScripts procedure


Prototype:

procedure EnableScripts;

Description:

Enables predefined scripts to be working.

Syntax:

Project.EnableScripts;


Part

Description


Project

A reference to the Field-Map project as defined in Field-Map Project Manager




Return value:

none


Note:


EnableScripts procedure has respective forms which work "type-of-script" specific. The prototype of their syntax and functionality is the same as EnableScripts procedure, the only difference is their specific functionality. These scripts include:

          • Project.EnableAfterCancelScripts;
          • Project.EnableAfterDeleteScripts;
          • Project.EnableAfterEditScripts;
          • Project.EnableAfterInsertScripts;
          • Project.EnableAfterPostScripts;
          • Project.EnableAfterScrollScripts;
          • Project.EnableBeforeCancelScripts;
          • Project.EnableBeforeDeleteScripts;
          • Project.EnableBeforeEditScripts;
          • Project.EnableBeforeInsertScripts;
          • Project.EnableBeforePostScripts;
          • Project.EnableBeforeScrollScripts;
          • Project.EnableLayerEventScripts;
          • Project.EnableOnChangeScripts;
          • Project.EnableOnValidateScripts;
          • Project.EnableOnChangeTimeStamp;

                               

See also Disabling events.



See also:

Name; DatabaseType; Version; UserLoginFullName; UserLoginName; UserGroupName; LayerCount; Layer; GetMapLayerListAsXML; ActiveLayer; ActiveLayerName; LayerAtIndex; SysTab_LayerList; SysTab_AttributeList; GetMapLayerListAsXML; ApplyMapLayerList; LoadMapLayerListFromXML; SaveMapLayerListToXML; MapLayerListVisible; SendDataToAnotherRunningProject; GetResourceString; AnotherProjectIsRunning; OpenAnotherProject; BringProjectToFront;SendDataToAnotherRunningProject; OpenInactiveLayers; CloseInactiveLayers; OpenPlot; OpenPlotUsingDataCollector; RunPolyshape; AddLayerWrapper; ScriptsEnabled; OnValidateScriptsEnabled; OnChangeScriptsEnabled; OnChangeTimeStampEnabled; DisableScripts; EnableScripts; RunSynchronization; RunSynchronizationExt; AdjustOnlineCalliperConnection


Example