Field-Map Scripting

4.2.2.3 Enabled

Enabled property


Prototype:

property Enabled [const AttributeName: string]: boolean;

Description:

To set an attribute in a Field-Map layer to be read-only, set Enabled to False. If Enabled is True, the attribute is editable.

Syntax (set):

Syntax (get):

Layer.Enabled[AttributeName] := expression;

variable := Layer.Enabled[AttributeName];


Part

Description


expression

An expression of type boolean


variable

A variable declared as an boolean


Layer

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


AttributeName

The name of the desired attribute as defined in Field-Map Project Manager

Return value:

True if the attribute is editable, false if it is read-only



See also:

RefreshAttributeLayout; TabStop; Enabled; EnableAttributes; DisableAttributes; Visible; ShowAttributes; HideAttributes; AllignAttribute; AllignAttributes; AlignOverviewGridTitles; OverviewGridAttributeTitle; ClickToAttributeControl; UseKeyboard4ComboBox; OverviewGridAttributeVisible; ShowOverviewGridAttribute; HideOverviewGridAttribute; Color; ResetColor; SetParentColor; SetColorOfAttributes; ResetColorOfAttributes; SetParentColorOfAttributes; EnableControls; DisableControls; ControlsDisabled; EnableScreenControls; DisableScreenControls; ScreenControlsDisabled; SetFocus; DisplayFormat; AttributeHint; ResetAttributeHint; AttributeLabel; PlacerStrategy; MaxSpaceForControlPerc; GoToLayerPage; GoToMapPage; IsLayerPageOnTop; TabVisible; LayerPageVisible; StemProfilePageVisible; ShowInSeparateWindow; ShowThumbnailPreview; LayerVisible; LabelsVisible; AlwaysColored; SaveMiscTreeDataToXML ;