TX Text Control ActiveX

FieldEditAttr Property

Property

This property returns or sets attributes for advanced editing inside marked text fields.

Syntax

TXTextControl.FieldEditAttr(FieldId) [= Attr]

Parameters

ParameterDescription
FieldIdIdentifies the field that is to be manipulated. Possible property settings are listed in Constants.

Constants

The following lists the possible property values. These values can be combined by adding the desired constant values. Changing one option does not affect the other. The default value of a newly inserted field is: &H2 + &H8 + &H20 + &H80

ConstantDescription
&H1Implements a second character input position at the beginning and the end of the specified marked text field.
&H2Performs normal editing at the beginning and the end of the specified marked text field.
&H4Changes the width of the caret when the character input position is inside the specified marked text field.
&H8Uses the normal text caret when the character input position is inside the specified marked text field.
&H10Displays the text of the specified marked text field with a gray background when the input position is inside this field.
&H20Displays the text of the specified marked text field with the standard control background when the input position is inside this field.
&H40Enables the normal double-click processing inside marked text fields that starts a wordwise selection. The TXTextControl.FieldDblClicked is suppressed.
&H80Disables the normal double-click processing inside marked text fields. The TXTextControl.FieldDblClicked is enabled.

Data Types

Integer.

Limitations

Run time only.

See Also