AddBooleanAttribute function
Prototype: |
function AddBooleanAttribute (const AttributeName: string; const AttributeLabel: string; ReadOnly: boolean): boolean; |
|
Description: |
Use this function to add a new boolean attribute to the Field-Map layer and set its name, label and whether or not it will be read-only in Data Collector. |
|
Syntax: |
variable := Layer.AddBooleanAttribute(AttributeName,AttributeLabel,ReadOnly); |
|
Part |
Description |
|
variable |
A variable declared as boolean |
|
Layer |
A reference to the Field-Map layer as defined in Field-Map Project Manager |
|
AttributeName |
The name of the new attribute |
|
AttributeLabel |
The label of the new attribute |
|
ReadOnly |
Sets the new attribute to be read-only (true) |
|
Return value: |
True if the attribute has been successfully added |
|
See also:
OpenTable; LoadSimpleXML; OpenParadoxTable; CreateMemTableFromDefs; CloseAndFreeTable; Constants; AddintegerAttribute; AddFloatAttribute; AddbooleanAttribute; AddStringAttribute; AttributeExists; DefaultValue; DefaultValueEnabled; GetAttributesWithDefaultValue; GetAttributesWithDefaultValue
© 2024 IFER-Monitoring and Mapping Solutions