# TXTextControl Control

> Main ActiveX control that displays and edits text documents: every TXTextControl property, method and event in alphabetical order with a short description.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Class
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl Control
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/#syntax)
- [Members](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/#members)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/#see-also)

---

## In This Section

- [Alignment Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/alignment-property/llms.txt): Sets the paragraph alignment of text in TXTextControl: left, right, centered or justified, with value 4 returned for mixed alignments in a selection.
- [AllowDrag Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/allowdrag-property/llms.txt): Gets or sets a Boolean that lets TXTextControl act as the source of a drag-and-drop operation; set AllowDrop to True to accept data dropped onto the control.
- [AllowDrop Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/allowdrop-property/llms.txt): Gets or sets a Boolean that lets TXTextControl accept data the user drags onto it as a drop target; set AllowDrag to True to make it a drag source as well.
- [AllowUndo Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/allowundo-property/llms.txt): Turns the undo buffer of TXTextControl on or off to save time and memory when generating reports; active by default, but off when running on a server.
- [Append Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/append-method/llms.txt): Appends a file to the end of the document: FileName, Offset, Format identifier and AppendSettings for a new paragraph or section. Returns the file position.
- [AppendFromMemory Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/appendfrommemory-method/llms.txt): Appends a byte array in a given format to the end of the document, optionally starting with a new paragraph or section; returns True on success. With example.
- [AutoBaseLine Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autobaseline-property/llms.txt): Sets automatic superscript or subscript for the selected text with font-defined scaling, including upper-edge and baseline variants for diagonal fractions.
- [AutoExpand Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoexpand-property/llms.txt): Specifies whether TXTextControl grows automatically when inserted or reformatted text no longer fits; only in the Simple Control view mode, run time only.
- [AutoScroll Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoscroll-event/llms.txt): Occurs when the mouse leaves the visible client area while expanding a text selection without moving the caret; only raised in the Simple Control view mode.
- [BackColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/backcolor-property/llms.txt): Returns or sets the background color of TXTextControl as an RGB value from 0 to &HFFFFFF or as a system color from the Windows Control Panel settings.
- [BackStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/backstyle-property/llms.txt): Makes the background of TXTextControl transparent (0) or opaque (1, filled with BackColor); Simple Control view mode only, needs a non-clipping container.
- [BaseLine Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/baseline-property/llms.txt): Specifies the baseline offset of the selected text in twips: negative values for subscript, positive for superscript, limited to 960 twips in each direction.
- [BorderStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/borderstyle-property/llms.txt): Returns or sets the border style of TXTextControl: 0 for no border or 1 for a fixed single border, which is the default setting of the control.
- [BulletAttribute Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/bulletattribute-property/llms.txt): Returns or sets bulleted list attributes: bullet character, gap format, list level up to 10, bullet and text positions in twips, bullet font size and font name.
- [ButtonBarHandle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/buttonbarhandle-property/llms.txt): Connects a TXButtonBar control to TXTextControl by assigning the button bar's window handle (hWnd) at run time, like the ruler and status bar handles.
- [CanCharacterFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cancharacterformat-property/llms.txt): Returns a Boolean telling whether character formatting attributes of the selected text can be changed, depending on DocumentPermissions and the edit mode.
- [CanCopy Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cancopy-property/llms.txt): Returns a Boolean telling whether part of the TXTextControl document is selected and can be copied to the clipboard; available at run time only.
- [CanDocumentFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/candocumentformat-property/llms.txt): Returns a Boolean telling whether page and section formatting can be changed, depending on the DocumentPermissions property and the current edit mode.
- [CanEdit Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canedit-property/llms.txt): Returns a Boolean telling whether the text can be changed at the current input position, depending on DocumentPermissions and the current edit mode.
- [CannotTrackChange Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cannottrackchange-event/llms.txt): Occurs when a document change cannot be tracked, such as deleting a table column or merging cells; Cancel and Handled replace the default message box.
- [CanParagraphFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canparagraphformat-property/llms.txt): Returns a Boolean telling whether paragraph formatting of the selected text can be changed, depending on DocumentPermissions and the current edit mode.
- [CanPaste Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canpaste-property/llms.txt): Returns a Boolean telling whether the clipboard holds a format that can be pasted into the TXTextControl document; available at run time only.
- [CanPrint Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canprint-property/llms.txt): Returns a Boolean telling whether the document can be printed, depending on the DocumentPermissions property and the edit mode; read only and run time only.
- [CanRedo Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canredo-property/llms.txt): Returns which operation the Redo method can repeat as an integer code, from 10 for inserting text to 46 for editing a header or footer, or 0 for nothing.
- [CanStyleFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canstyleformat-property/llms.txt): Returns a Boolean telling whether the document can be formatted with formatting styles, depending on DocumentPermissions and the current edit mode.
- [CanTableFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cantableformat-property/llms.txt): Returns a Boolean telling whether table formatting or the table layout can be changed for the selected text, depending on DocumentPermissions and edit mode.
- [CanUndo Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canundo-property/llms.txt): Returns which operation the Undo method can reverse as an integer code, from 1 for inserting text to 46 for editing a header or footer, or 0 for nothing.
- [Capitals Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/capitals-property/llms.txt): Displays lowercase letters of the selected text as full-size capitals, petite caps with the height of the lowercase x, or small caps 10 percent taller.
- [CaretOut Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/caretout-event/llms.txt): Occurs when the caret, the current input position, has moved to a control that is completely outside the visible area; Simple Control view mode only.
- [CaretOutBottom Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/caretoutbottom-event/llms.txt): Occurs when the caret, the current input position, has moved out of the visible area at the bottom of TXTextControl; raised in Simple Control view mode only.
- [CaretOutLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/caretoutleft-event/llms.txt): Occurs when the caret, the current input position, has moved out of the visible area at the left side of TXTextControl; raised in Simple Control view mode only.
- [CaretOutRight Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/caretoutright-event/llms.txt): Occurs when the caret, the current input position, has moved out of the visible area at the right side of TXTextControl; raised in Simple Control mode only.
- [CaretOutTop Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/caretouttop-event/llms.txt): Occurs when the caret, the current input position, has moved out of the visible area at the top of TXTextControl; raised in Simple Control view mode only.
- [CaretWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/caretwidth-property/llms.txt): Returns or sets the caret width in pixels, separately for standard text (0) and marked text fields (1); zero is the system default, 255 the maximum.
- [Change Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/change-event/llms.txt): Occurs when the contents of TXTextControl have changed; a Change event without parameters for reacting to any edit of the document text.
- [ChangeCapitalization Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/changecapitalization-method/llms.txt): Changes the capitalization of the selected characters: capitalize each sentence or word, lowercase, uppercase or toggle case; returns False without a selection.
- [ChangeTextDirection Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/changetextdirection-method/llms.txt): Changes the text direction of the selected paragraphs to right-to-left or left-to-right, toggling left and right alignment and tabs; returns True on success.
- [CharacterScaling Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/characterscaling-property/llms.txt): Returns or sets the character scaling of the selected text in percent of the average character width; returns -1 when the selection mixes scaling values.
- [CharacterSpacing Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/characterspacing-property/llms.txt): Returns or sets the character spacing of the selected text in twips, negative to condense or positive to expand; returns -32767 for mixed spacing values.
- [CharFormatChange Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/charformatchange-event/llms.txt): Occurs when the formatting attributes of the selected characters change, including font changes made when TXTextControl adapts fonts to a new output device.
- [Click Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/click-event/llms.txt): Occurs when the user presses and then releases a mouse button over TXTextControl; a Click event without parameters for handling single mouse clicks.
- [Clip Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/clip-method/llms.txt): Performs clipboard actions in TXTextControl with the Action parameter: 1 cuts, 2 copies, 3 pastes and 4 clears the selection. With an Edit/Copy menu example.
- [ClipboardFormats Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/clipboardformats-property/llms.txt): Returns an array of the data formats in the clipboard that can be pasted: TX Text Control format, RTF, image, plain text, OLE object, text frame and HTML.
- [ClipChildren Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/clipchildren-property/llms.txt): Excludes the areas of child controls from the update area when TXTextControl is a container for other Text Controls or embedded objects; False by default.
- [ClipSiblings Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/clipsiblings-property/llms.txt): Determines clipping of child controls in a common container; set it to False to let transparent Text Controls overlap other Text Controls. True by default.
- [ColumnDistance Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columndistance-property/llms.txt): Sets the distance in twips between equal-width page columns for the document or the section selected by SectionCurrent; write only, run time only.
- [ColumnLineColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columnlinecolor-property/llms.txt): Returns or sets the RGB color of the dividing line between page columns for the document or a section; returns &H80000000 when sections differ.
- [ColumnLineWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columnlinewidth-property/llms.txt): Returns or sets the width in twips of the dividing line between page columns for the document or a section; zero means no line, -1 means sections differ.
- [Columns Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columns-property/llms.txt): Returns or sets the number of equal-width page columns for the whole document or the section chosen by SectionCurrent; returns zero when sections differ.
- [ColumnWidthsAndDistances Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columnwidthsanddistances-property/llms.txt): Returns or sets page columns with different widths and distances as an array of 2n-1 Long values in twips; empty when selected sections differ. With example.
- [CommentChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentchanged-event/llms.txt): Occurs when the text of a comment in the document has been changed; the CommentId parameter passes the Long identifier of the changed comment.
- [CommentCreated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentcreated-event/llms.txt): Occurs when a new comment has been created in the document; the CommentId parameter passes the Long identifier of the comment that was created.
- [CommentCreationTime Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentcreationtime-property/llms.txt): Returns the date and time in Coordinated Universal Time (UTC) when the comment with the given CommentId was made, as a Date; read only, run time only.
- [CommentDelete Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentdelete-method/llms.txt): Removes the comment with the given Long CommentId from the document; the method returns True when the comment could be removed, otherwise False.
- [CommentDeleted Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentdeleted-event/llms.txt): Occurs when a comment has been deleted from the document; the CommentId parameter passes the Long identifier of the comment that was deleted.
- [CommentEdit Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedit-method/llms.txt): Opens the comment input control so the end user can edit the comment with the given CommentId; returns False when the comment doesn't exist.
- [CommentedTextEntered Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedtextentered-event/llms.txt): Occurs when the caret has moved into a commented piece of text; the CommentId parameter passes the Long identifier of the comment that was entered.
- [CommentedTextLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedtextleft-event/llms.txt): Occurs when the caret has left a commented piece of text; the CommentId parameter passes the Long identifier of the comment whose text was left.
- [CommentEnd Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentend-property/llms.txt): Returns the one-based index of the last character of the text associated with the comment with the given CommentId; read only, run time only.
- [CommentGetReplied Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentgetreplied-method/llms.txt): Returns the Long identifier of the comment that the comment with the given CommentId replies to, or 0 when it is not a reply or does not exist.
- [CommentHighlightMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenthighlightmode-property/llms.txt): Returns or sets how commented text is highlighted: never (txNever), only when it holds the input position (txActivated, default) or always (txAlways).
- [CommentInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentinsert-method/llms.txt): Opens the comment input control so the end user can add a comment to the selected text; returns False without a selection or when it's too complex.
- [CommentNext Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentnext-method/llms.txt): Returns the identifier of the comment that follows the given one, or of the first comment for 0, to enumerate all comments and their replies in the text.
- [CommentReplies Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentreplies-property/llms.txt): Returns the identifiers of all replies to the comment with the given CommentId as an array of Long; an empty array (UBound -1) when there are none.
- [CommentReply Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentreply-method/llms.txt): Opens the comment input control so the end user can reply to the comment with the given CommentId; returns False when the comment doesn't exist.
- [CommentStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentstart-property/llms.txt): Returns the one-based index of the first character of the text associated with the comment with the given CommentId; read only, run time only.
- [CommentText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenttext-property/llms.txt): Returns or sets the text of the comment identified by a Long CommentId as a String, to read or change the content of existing comments in code.
- [CommentUserName Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentusername-property/llms.txt): Returns the name of the user who made the comment with the given CommentId, or an empty string for an unknown user; read only, run time only.
- [ConnectTools Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/connecttools-event/llms.txt): MS Access only: occurs when all Text Controls, rulers, button bars and status bars are created, to connect them in two steps with their hWnd handles.
- [ContextMenuOpening Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/contextmenuopening-event/llms.txt): Occurs before a built-in context menu opens, with DocumentLocation flags for selection, margins, frames, tables or fields and Cancel to show your own menu.
- [ControlChars Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/controlchars-property/llms.txt): Specifies whether control characters such as spaces and paragraph breaks are visible in TXTextControl; a Boolean that shows or hides these characters.
- [CurrentInputPosition Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/currentinputposition-property/llms.txt): Returns or sets the page, line and column number of the current text input position as an array of three Long values, as shown in the status bar.
- [CurrentPages Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/currentpages-property/llms.txt): Returns the number of pages of the current document, which depends on the text and the PageHeight, PageWidth and page margin properties; read only.
- [DataText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/datatext-property/llms.txt): Internal property used by Visual Basic when TXTextControl is a bound control; the DataText property is not meant to be read or changed by the developer.
- [DataTextFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/datatextformat-property/llms.txt): Specifies whether a bound TXTextControl exchanges data with the database as text (0) or as text with formatting in the internal binary format (1).
- [DblClick Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/dblclick-event/llms.txt): Occurs when the user presses and releases a mouse button twice over TXTextControl; the double-click event of the control, raised without parameters.
- [DecreaseIndent Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/decreaseindent-method/llms.txt): Decreases the left indent of the selected paragraphs or at the input position, using tab positions and neighboring indents; returns False at the minimum.
- [Device Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/device-property/llms.txt): Returns or sets the device the document is formatted for: 1 for the screen, 2 for the standard printer (default) or the name of an installed printer.
- [DisplayColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/displaycolor-property/llms.txt): Returns or sets the display colors used with the txGradientColors page view style: desktop, page shadows, header and footer lines and labels, form fields.
- [DocumentPermissions Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/documentpermissions-property/llms.txt): Specifies what is allowed in a protected document: formatting, styles, copying, printing, read only or editing form fields; values can be added together.
- [EditableRegionDelete Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiondelete-method/llms.txt): Deletes the editable region with the RegionId returned by EditableRegionInsert from the document; returns False when the region identifier is invalid.
- [EditableRegionEntered Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionentered-event/llms.txt): Occurs when the current input position has moved into an editable region of the TXTextControl document; the RegionId parameter passes the region's identifier.
- [EditableRegionGoto Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiongoto-method/llms.txt): Moves the input position to the start of the editable region with the given RegionId and scrolls it to the top of the visible text; returns True if found.
- [EditableRegionHighlightMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionhighlightmode-property/llms.txt): Determines how editable regions are highlighted in the document: never (txNever), only when they contain the input position (txActivated) or always (txAlways).
- [EditableRegionInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregioninsert-method/llms.txt): Inserts an editable region for the selected text that a named user or everyone can edit in a protected document, with user ID and highlight color and alpha.
- [EditableRegionLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionleft-event/llms.txt): Occurs when the current input position has left an editable region of the TXTextControl document; the RegionId parameter passes the region's identifier.
- [EditableRegionUserId Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionuserid-property/llms.txt): Returns or sets the one-based, user-defined identifier of the editable region with the given RegionId; zero means the region has no identifier.
- [EditableRegionUserName Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionusername-property/llms.txt): Returns or sets the name of the user who can edit the editable region with the given RegionId; an empty string lets everyone edit the region.
- [EditMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms.txt): Specifies whether the document can be edited, is protected, read only or password protected, with DocumentPermissions and editable regions for protected text.
- [EnableAutomationServer Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/enableautomationserver-method/llms.txt): Enables TXTextControl to work as an automation server; the method takes no parameters and returns True when it succeeded, otherwise False.
- [Enabled Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/enabled-property/llms.txt): Returns or sets whether TXTextControl responds to user-generated events; True by default, False prevents the control from responding to user input.
- [EnableSpellChecking Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/enablespellchecking-property/llms.txt): Turns spell checking on or off; when enabled, the SpellCheckText event is raised whenever the document text changes so that misspelled words can be checked.
- [EndUndoAction Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/endundoaction-method/llms.txt): Ends an undo action started with StartUndoAction, so that all property and method calls made in between are undone by the end user as one single step.
- [Error Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/error-event/llms.txt): Occurs when TXTextControl reports an error, with the error number, description, OLE status code, source, help file and CancelDisplay to show your own message.
- [FieldAtInputPos Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldatinputpos-property/llms.txt): Returns the identifier of the marked text field that contains the current input position, or zero when the input position is not inside a field.
- [FieldChangeable Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldchangeable-property/llms.txt): Specifies whether the user can change the text of the marked text field selected with FieldCurrent; a Boolean property available at run time only.
- [FieldChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldchanged-event/llms.txt): Occurs when the text of a marked text field has been changed; the FieldId parameter identifies the field and updates the FieldCurrent property.
- [FieldClicked Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldclicked-event/llms.txt): Occurs when the user clicks a marked text field; the FieldId parameter identifies the clicked field and updates the value of the FieldCurrent property.
- [FieldCreated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldcreated-event/llms.txt): Occurs when a marked text field has been pasted from the clipboard; the FieldId parameter identifies the new field and updates the FieldCurrent property.
- [FieldCurrent Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldcurrent-property/llms.txt): Returns or sets the identifier of the current marked text field used by the Field properties, methods and events, with an example that changes a field's text.
- [FieldData Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddata-property/llms.txt): Relates a Long value or a string to the marked text field with the given FieldId; zero or an empty string deletes the data previously stored with the field.
- [FieldDblClicked Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddblclicked-event/llms.txt): Occurs when the user double-clicks a marked text field; the FieldId parameter identifies the field and updates the value of the FieldCurrent property.
- [FieldDelete Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddelete-method/llms.txt): Deletes the marked text field selected with FieldCurrent, with its text when DeleteTotal is True or keeping the text as plain text when it is False.
- [FieldDeleteable Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddeleteable-property/llms.txt): Specifies whether the user can delete the marked text field selected with FieldCurrent; a Boolean property available at run time only.
- [FieldDeleted Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddeleted-event/llms.txt): Occurs when a marked text field has been deleted; the FieldId parameter identifies the deleted field, and the FieldCurrent property is set to zero.
- [FieldDescriptiveText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddescriptivetext-property/llms.txt): Sets the descriptive text of a hyperlink or form field (link, check box, combo box, form text or date field) selected by FieldCurrent; run time only.
- [FieldEditAttr Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldeditattr-property/llms.txt): Sets editing attributes of a marked text field as combined flags: extra input positions at the edges, caret width, background and double-click handling.
- [FieldEnd Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldend-property/llms.txt): Returns the end position of the marked text field selected with the FieldCurrent property as a Long value; read only and available at run time only.
- [FieldEntered Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldentered-event/llms.txt): Occurs when the caret has moved into a marked text field; the FieldId parameter identifies the entered field without changing the FieldCurrent property.
- [FieldGoto Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldgoto-method/llms.txt): Moves the input position to the start of a marked text field given by FieldType and FieldId, or a topic number, and scrolls it to the top of the visible text.
- [FieldHighlightColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldhighlightcolor-property/llms.txt): Returns or sets the highlight color of the text field with the given FieldId as a Long color value, used with FieldHighlightMode; available at run time only.
- [FieldHighlightMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldhighlightmode-property/llms.txt): Returns or sets how the text field with the given FieldId is highlighted: never (1), only when it contains the input position (2) or always (3), at run time.
- [FieldHighlightTransparency Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldhighlighttransparency-property/llms.txt): Returns or sets the transparency of the highlight color of the text field with the given FieldId, a value from 1 to 255, where 255 is completely opaque.
- [FieldInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldinsert-method/llms.txt): Inserts a new marked text field with the given text at the caret position, returns True on success and sets FieldCurrent to the new field's identifier.
- [FieldLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldleft-event/llms.txt): Occurs when the caret has moved out of the marked text field at the previous input position; the FieldId parameter identifies the field that was left.
- [FieldLinkClicked Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldlinkclicked-event/llms.txt): Occurs when a hypertext link field is clicked, with FieldId, the txFieldExternalLink or txFieldInternalLink type and the address or target name as TypeData.
- [FieldLinkTargetMarkers Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldlinktargetmarkers-property/llms.txt): Gets or sets whether markers for hypertext link targets are shown in the TXTextControl document as a Boolean; the target markers are hidden by default.
- [FieldNext Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldnext-method/llms.txt): Returns the identifier of the marked text field after the given one to enumerate fields, filtered by FieldGroup flags for changeable, deleteable or field types.
- [FieldPosX Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldposx-property/llms.txt): Returns the horizontal distance between the left border of the marked text field selected with FieldCurrent and the left border of TXTextControl.
- [FieldPosY Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldposy-property/llms.txt): Returns the vertical distance between the upper left of the marked text field selected with FieldCurrent and the upper left of TXTextControl.
- [FieldSetCursor Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldsetcursor-event/llms.txt): Occurs when the mouse cursor moves over a marked text field; change the MousePointer parameter to use a different cursor than the standard up arrow.
- [FieldSetInputPos Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldsetinputpos-method/llms.txt): Defines whether a doubled input position at the start or end of a marked text field is inside or outside it: txInsideField, txOutsideField, txInsideNextField.
- [FieldStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldstart-property/llms.txt): Returns the start position of the marked text field set with FieldCurrent in the TXTextControl as a Long value. The property is read only and run time only.
- [FieldText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtext-property/llms.txt): Returns or sets the text contained in a marked text field of the TXTextControl. The field is selected with the FieldCurrent property first; run time only.
- [FieldType Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtype-property/llms.txt): Sets or returns a marked text field's special type: hypertext links, page numbers, highlights, topics, Word fields, checkboxes, comboboxes, form text and dates.
- [FieldTypeData Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtypedata-property/llms.txt): Sets or returns the data of a special field type: link targets, page number start and format (Arabic, letters, Roman), highlight color, topic, Word field code.
- [Find Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/find-method/llms.txt): Searches the TXTextControl text for a string from a start index with SearchUp, MatchCase, NoHighLight, NoMessageBox and MatchWholeWord; returns the index or -1.
- [FindReplace Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/findreplace-method/llms.txt): Displays the built-in Find dialog box (TypeOfDialog 1) or the Find and Replace dialog box (TypeOfDialog 2) of the TXTextControl. The method has no return value.
- [FontBold Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontbold-property/llms.txt): Returns or sets bold for the selected or complete TXTextControl text, depending on FormatSelection: 0 normal, 1 bold, 2 a mix of bold and normal characters.
- [FontDialog Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontdialog-method/llms.txt): Opens the built-in TXTextControl font dialog box on the font and color tab or the position and effects tab; returns True if the user changed attributes.
- [FontItalic Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontitalic-property/llms.txt): Returns or sets italic for the selected or complete TXTextControl text, depending on FormatSelection: 0 normal, 1 italic, 2 a mix of italic and normal text.
- [FontName Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontname-property/llms.txt): Returns or sets the font name of the selected or complete TXTextControl text, depending on FormatSelection; an empty string means the selection mixes fonts.
- [FontSettings Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontsettings-property/llms.txt): Restricts the fonts a TXTextControl document can use: all fonts, scalable fonts only, embeddable fonts only or TrueType and OpenType fonts only; values add up.
- [FontSize Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontsize-property/llms.txt): Returns or sets the font size in points of the selected or complete TXTextControl text, depending on FormatSelection; 0 means the selection mixes sizes.
- [FontStrikethru Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontstrikethru-property/llms.txt): Returns or sets strikethrough for the selected or complete TXTextControl text, depending on FormatSelection: 0 normal, 1 struck through, 2 a mixed selection.
- [FontUnderline Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontunderline-property/llms.txt): Returns or sets underline for the selected or complete TXTextControl text, depending on FormatSelection: 0 normal, 1 underlined, 2 a mixed selection.
- [FontUnderlineStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontunderlinestyle-property/llms.txt): Sets the TXTextControl underline style: single, double or words only (&H1, &H2, &H4); &H10, &H20 and &H40 are returned for selections with mixed styles.
- [FootnoteCreated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotecreated-event/llms.txt): Occurs when a footnote has been created in the TXTextControl document and passes the FootnoteId of the new footnote to the event handler as a Long value.
- [FootnoteDelete Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotedelete-method/llms.txt): Removes the footnote with the specified FootnoteId from the TXTextControl document and returns True if it could be removed, otherwise False.
- [FootnoteDeleted Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotedeleted-event/llms.txt): Occurs when a footnote has been deleted from the TXTextControl document and passes the FootnoteId of the deleted footnote to the event handler as a Long value.
- [FootnoteEdit Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnoteedit-method/llms.txt): Moves the input position to the end of a footnote's text in the footnote section so it can be edited or formatted; returns True on success, otherwise False.
- [FootnoteGoto Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotegoto-method/llms.txt): Moves the input position to the reference mark of the footnote with the given FootnoteId and scrolls it to the top of the visible text; True if it was found.
- [FootnoteHighlightMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotehighlightmode-property/llms.txt): Sets whether footnote numbers, both reference marks and footnote marks, are highlighted: txNever (default), txActivated at the input position, or txAlways.
- [FootnoteInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnoteinsert-method/llms.txt): Inserts a footnote with a reference mark at the input position and its text at the bottom of the page, optionally for editing; returns its identifier or 0.
- [FootnoteName Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotename-property/llms.txt): Returns or sets the name of the footnote with the specified FootnoteId as a String; an empty string means the footnote has no name. Available at run time only.
- [FootnoteNext Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotenext-method/llms.txt): Returns the identifier of the footnote after the specified one, or of the first footnote for 0, to enumerate all footnotes; returns 0 after the last one.
- [FootnoteNumberFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotenumberformat-property/llms.txt): Returns or sets the TXTextControl footnote number format: Arabic numbers, small or capital letters, or small or capital Roman numbers (values 3 to 7).
- [FootnoteReferenceMarkEnd Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotereferencemarkend-property/llms.txt): Returns the one-based index of the last character of the reference mark of the footnote with the given FootnoteId as a Long; read only and run time only.
- [FootnoteReferenceMarkEntered Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotereferencemarkentered-event/llms.txt): Occurs when the current input position has been moved to a footnote reference mark in the TXTextControl and passes the FootnoteId of the entered reference mark.
- [FootnoteReferenceMarkLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotereferencemarkleft-event/llms.txt): Occurs when the current input position has left a footnote reference mark in the TXTextControl and passes the FootnoteId of the reference mark it left.
- [FootnoteReferenceMarkStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotereferencemarkstart-property/llms.txt): Returns the one-based index of the first character of the reference mark of the footnote with the given FootnoteId as a Long; read only and run time only.
- [FootnoteSectionActivated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotesectionactivated-event/llms.txt): Occurs when the footnote section of a page in the TXTextControl gets the current text input position from another part of the document; it has no parameters.
- [FootnoteSectionDeactivated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotesectiondeactivated-event/llms.txt): Occurs when the footnote section of a page in the TXTextControl has lost the current text input position to another part of the document; it has no parameters.
- [FootnoteStartNumber Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotestartnumber-property/llms.txt): Returns or sets the number of the first footnote, where the footnote numbering of the TXTextControl document starts, as an Integer value at run time only.
- [ForeColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/forecolor-property/llms.txt): Returns or sets the RGB or system text color of the selected or complete text of the TXTextControl, depending on FormatSelection, in the range 0 to &HFFFFFF.
- [FormatSelection Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formatselection-property/llms.txt): Sets whether character and paragraph formatting properties such as FontBold, FontSize, Alignment and LineSpacing apply to the selection or the whole text.
- [FormCheckBoxInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcheckboxinsert-method/llms.txt): Inserts a checkbox form field at the input position, checked or unchecked, with optional Unicode checked and unchecked characters (default &H2612, &H2610).
- [FormCheckStateChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcheckstatechanged-event/llms.txt): Occurs when the check state of a checkbox form field in the TXTextControl has been changed; passes the FieldId and updates the FieldCurrent property with it.
- [FormComboBoxInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcomboboxinsert-method/llms.txt): Inserts a combobox form field at the input position with its text, TAB-separated items, an optional dropdown arrow and an empty width in twips (default 2000).
- [FormDateChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdatechanged-event/llms.txt): Occurs after the date of a date form field in the TXTextControl has been changed; passes the FieldId of the date field and updates FieldCurrent with it.
- [FormDateFieldInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdatefieldinsert-method/llms.txt): Inserts a date form field at the input position with a date, an optional date control, an empty width in twips (default 2000) and a date format picture.
- [FormDropDownListInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdropdownlistinsert-method/llms.txt): Inserts a dropdown list form field at the input position with TAB-separated items, a selected index (-1 for none), a dropdown arrow and an empty width.
- [FormFieldCheckedChar Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldcheckedchar-property/llms.txt): Sets or returns the Unicode character code that displays a checkbox form field in the checked state, for the checkbox with the specified FieldId. Run time only.
- [FormFieldCheckedChars Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldcheckedchars-property/llms.txt): Returns the characters that can display a checkbox form field in the checked state for a FieldId; they depend on the checkbox's font. Read only, run time only.
- [FormFieldDate Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddate-property/llms.txt): Sets or returns the Date value of the date form field with the specified FieldId in the TXTextControl, a field inserted with FormDateFieldInsert. Run time only.
- [FormFieldDateFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddateformat-property/llms.txt): Sets or returns the Day, Month and Year Format Picture string that displays a date field's date; an empty string uses the default of the text's language.
- [FormFieldDateFormats Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddateformats-property/llms.txt): Returns the format picture strings available for a date form field as a TAB-separated string; they depend on the locale of the field's text. Read only.
- [FormFieldDialog Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddialog-method/llms.txt): Opens the built-in dialog box for the attributes of a checkbox, combobox, form text or date field; returns True if the user changed attributes and chose OK.
- [FormFieldEmptyWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldemptywidth-property/llms.txt): Sets or returns the width a combobox, dropdown list, date field or form text field of the TXTextControl has while it is empty, for the given FieldId.
- [FormFieldItems Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielditems-property/llms.txt): Sets or returns the items of a combobox or dropdown list form field as a sequence of strings separated by TAB (9) characters, for a FieldId. Run time only.
- [FormFieldTextChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldtextchanged-event/llms.txt): Occurs after the text of a text form field in the TXTextControl has been changed; passes the FieldId of the text field and updates FieldCurrent with it.
- [FormFieldUncheckedChar Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielduncheckedchar-property/llms.txt): Sets or returns the Unicode character code that displays a checkbox form field in the unchecked state, for the checkbox with the given FieldId. Run time only.
- [FormFieldUncheckedChars Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielduncheckedchars-property/llms.txt): Returns the characters that can display a checkbox form field in the unchecked state for a FieldId; they depend on the checkbox font. Read only, run time only.
- [FormSelectedItemChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formselecteditemchanged-event/llms.txt): Occurs after the selected item of a combobox or dropdown list form field has been changed; passes the FieldId and updates the FieldCurrent property with it.
- [FormTextFieldInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formtextfieldinsert-method/llms.txt): Inserts a text form field at the input position with an initial text and an optional width in twips shown while the field is empty (2000 twips by default).
- [FormulaReferenceStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formulareferencestyle-property/llms.txt): Gets or sets how formulas in TXTextControl tables reference cells: A1 notation with column letter and row number, or R1C1 notation with relative addresses.
- [FrameColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framecolor-property/llms.txt): Returns or sets the RGB background color of the selected paragraphs in the TXTextControl, from 0 to &HFFFFFF; BackColor sets the window background instead.
- [FrameDistance Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framedistance-property/llms.txt): Returns or sets the distance between the text and the frame of the selected paragraphs in the TXTextControl; returns -1 for differing settings. Run time only.
- [FrameLineColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framelinecolor-property/llms.txt): Returns or sets the RGB color of the frame lines of the selected paragraphs in the TXTextControl, from 0 to &HFFFFFF; FrameStyle defines the frame lines.
- [FrameLineWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framelinewidth-property/llms.txt): Specifies the frame line width of the selected paragraphs in the TXTextControl; returns 0 when the selected paragraphs have different widths. Run time only.
- [FrameStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framestyle-property/llms.txt): Returns or sets the frame of the selected paragraphs: left, right, top and bottom lines, tab lines, single or double lines, connected boxes and reset flags.
- [GetBaseLinePos Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getbaselinepos-method/llms.txt): Returns the baseline position of the line with the given zero-based index in twips, from the upper left corner of the text; 0 if the line does not exist.
- [GetCaretRect Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getcaretrect-method/llms.txt): Returns the rectangle covered by the caret at the current input position as an array of 4 Long values (left, top, right, bottom) in pixels from the control.
- [GetCharFromLine Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getcharfromline-method/llms.txt): Returns the character position of the first character of the line with the given zero-based index, counted from the start of the text; -1 if it doesn't exist.
- [GetCharRect Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getcharrect-method/llms.txt): Returns the rectangle covered by the character with the given zero-based index as an array of 4 Long values (left, top, right, bottom) in twips.
- [GetLineCount Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinecount-method/llms.txt): Returns the number of text lines currently contained in the TXTextControl as a Long value, counting every line of the text. The method has no parameters.
- [GetLineFromChar Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinefromchar-method/llms.txt): Returns the zero-based index of the line that contains the character at the specified zero-based character position, or -1 if the position does not exist.
- [GetLineFromPoint Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinefrompoint-method/llms.txt): Returns the zero-based index of the line that contains a point given in pixels from the top left corner of the TXTextControl, or -1 if an error has occurred.
- [GetLineRect Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinerect-method/llms.txt): Returns the rectangle of a text line, without external leading, line spacing or indents, as an array of 4 Long values (left, top, right, bottom) in twips.
- [GetTextExtent Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/gettextextent-method/llms.txt): Returns the width and height of the complete TXTextControl text in twips as an array of 2 Long values, independent of the zoom; the width is the longest line.
- [GrowFont Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/growfont-method/llms.txt): Increases the font size of each font in the selection or at the input position to the next size of the Button Bar and font dialog; False at the maximum.
- [HeaderFooter Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooter-property/llms.txt): Sets which headers and footers a document or section contains: header, footer, first page and even page headers and footers; values can be added together.
- [HeaderFooterActivate Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteractivate-method/llms.txt): Activates a header or footer of the section set with SectionCurrent, or deactivates it with 0, moving the input focus between it and the main text.
- [HeaderFooterActivated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteractivated-event/llms.txt): Occurs when a header or footer of the TXTextControl has been activated and passes its kind: header, footer, first page or even page; sets SectionCurrent.
- [HeaderFooterAtInputPos Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteratinputpos-property/llms.txt): Returns which part owns the input position: header, footer, first page or even header or footer, or txMainText (16). SectionCurrent receives the section.
- [HeaderFooterConnectedToPrevious Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterconnectedtoprevious-property/llms.txt): Returns or sets whether a header or footer of the section set with SectionCurrent is connected to the previous section's, so both always have the same contents.
- [HeaderFooterDeactivated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterdeactivated-event/llms.txt): Occurs when a header or footer of the TXTextControl has been deactivated and passes its kind: header, footer, first page or even page; sets SectionCurrent.
- [HeaderFooterPosition Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterposition-property/llms.txt): Sets the distance in twips of a header from the top or a footer from the bottom of the page for the section set with SectionCurrent; default 567 twips (1 cm).
- [HeaderFooterSelect Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterselect-method/llms.txt): Selects whether TXTextControl properties and methods manipulate a header, footer or the main text without activating it; 0 returns to automatic selection.
- [HeaderFooterStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterstyle-property/llms.txt): Sets how headers and footers are activated and shown: single mouse click, no double-click, a solid frame, no border or a dashed dividing line; values add up.

_282 more, listed on the page itself._

---

## Nearby

- **Previous:** [API Reference](https://docs.textcontrol.com/tx-text-control-activex/reference/llms.txt)
- **Next:** [Alignment Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/alignment-property/llms.txt)
