Field-Map Scripting

4.4.2.1 GoToLayerPage

GoToLayerPage function


Prototype:

function GoToLayerPage(const LayerName: string): boolean;

Description:

The GoToLayerPage function makes the specified layer active (Field-Map Data Collector notebook switches to the layer's window).

Syntax:

variable := Project.GoToLayerPage(LayerName);


Part

Description


variable

A variable declared as boolean


Project

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


LayerName

The string specifying the name of the Field-Map layer

Return value:

true if the specified layer exists, false if it has not been found in the Field-Map project


Example:


Project.GotoLayerPage('QualitySampling');




See also:

GoToLayerPage; IsLayerPageVisible