Field-Map Scripting

4.2.1.10 PerformLayerScript

PerformLayerScript function


Prototype:

function PerformLayerScript (const EventTypeName : string) : boolean;

Description:

Performs layer script of specified event type. Enables to run the script as a consequence of running of another script (e.g. activity of On-Validate script will initiate activity of AfterScroll layer script).

Syntax:

variable := Layer.PerformLayerScript(EventType);


Part

Description


variable

Variable declared as a boolean


Layer

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


EventType

String name of event type of script which should be performed (e.g. AfterScroll, BeforeDelete, etc.)




Return value:

True/false (whether the script was performed or not)

                               


See also:

Name; Free; ParentName; LayerType; LayerLevel; LayerLabel; AutoTimeStampEnabled; PerformOnChangeScript; PerformOnChangeScriptForAllRecords; PerformLayerScript; OnLineCalliper_AddAttribute; OnLineCalliper_RemoveAttribute; OnLineCalliper_ClearAttributes; OnLineCalliper_GotoAttribute; OnLineCalliper_AddRecordUponReceipt; GetCrownProfileVolumeAndSurface; GetCrownProjectionAsLine; GetCrownProjectionAsPolygon; OpenExternalForm; RelationType; IsValidParentLayer