Returns or sets the identifier of the current marked text field for the Fieldxxx properties, methods and events.
TXTextControl.FieldCurrent [= FieldId]
Integer.
Run time only.
The Basic example creates a marked text field with a text content of 'New Field' and afterwards changes the text to 'Hello':
Sub Create() Dim FieldId As Integer 'Create a marked text field and store its number TXTextControl.FieldInsert "New Field" FieldId = TXTextControl.FieldCurrent .. 'Change the text TXTextControl.FieldCurrent = FieldId TXTextControl.FieldText = "Hello" End Sub
<< TXTextControl.FieldCreated Event | >> TXTextControl.FieldData Property