Field-Map Scripting

4.4.1.10 ActiveLayer

ActiveLayer property


Prototype:

property ActiveLayer : TFieldMapLayerScriptWrapper;

Description:

The ActiveLayer property returns an object wrapper for the Field-Map layer which is currently active in the database (the cursor is on the layer's window).

Syntax:

variable := Project.ActiveLayer;


Part

Description


variable

A variable declared as an instance of the TFieldMapLayerScriptWrapper class


Project

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

Return value:

an object wrapper for the active Filed-Map layer



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