TXTextControl.TXTextControl.FieldEditAttr Property

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

Syntax

TXTextControl.FieldEditAttr(FieldId) [= Attr]
Parameter Description
FieldId

Identifies 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

Constant Description
&H1

Implements a second character input position at the beginning and the end of the specified marked text field.

&H2

Performs normal editing at the beginning and the end of the specified marked text field.

&H4

Changes the width of the caret when the character input position is inside the specified marked text field.

&H8

Uses the normal text caret when the character input position is inside the specified marked text field.

&H10

Displays the text of the specified marked text field with a gray background when the input position is inside this field.

&H20

Displays the text of the specified marked text field with the standard control background when the input position is inside this field.

&H40

Enables the normal double-click processing inside marked text fields that starts a wordwise selection. The TXTextControl.FieldDblClicked is suppressed.

&H80

Disables the normal double-click processing inside marked text fields. The TXTextControl.FieldDblClicked is enabled.

Data Types

Integer.

Limitations

Run time only.

See Also