Field-Map Scripting

4.2.2.21 SetColorOfAttributes

SetColorOfAttributes procedure


Prototype:

procedure SetColorOfAttributes (const Color : integer; ExcludingAttribs : string);

Description:

Function SetColorOfAttributes serves to change color in which are attributes of predefined layer visualised in the Filed-Map Data Collector interface.

Syntax:

Layer.SetColorOfAttributes(Color; ExcludingAttribs);


Part

Description


Layer

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


Color

Integer expression defining the color to be used for attributes visualisation. For -1, color does not change.


ExcludingAttribs

List of attributes which should be excluded from changing the color.




Return value:

none



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 ;