TX Text Control ActiveX Documentation

Text Selections and Character Input

Properties

PropertyDescription
TXTextControl.CurrentInputPositionReturns or sets an array of three values which specify the page, line and column number of the current text input position.
TXTextControl.FormatSelectionSpecifies whether character and paragraph formatting properties apply to the whole text or to a particular selection only.
TXTextControl.HideSelectionSpecifies whether a text selection is hidden when the Text Control looses the input focus.
TXTextControl.InsertionModeSpecifies whether text is inserted or overwrites existing text.
TXTextControl.SelLengthReturns or sets the number of characters selected.
TXTextControl.SelStartReturns or sets the starting point of text selected or indicates the position of the insertion point if no text is selected.
TXTextControl.SelTextReturns or sets the string containing the currently selected text.

Methods

MethodDescription
TXTextControl.InputPosFromPointReturns the text input position belonging to a certain geometric position.

Events

EventDescription
TXTextControl.ClickOccurs when the user presses and then releases a mouse button over a Text Control.
TXTextControl.DblClickOccurs when the user presses and releases a mouse button and then presses and releases it again over a Text Control.
TXTextControl.KeyDownOccurs when the user presses a key while the Text Control has the input focus.
TXTextControl.KeyPressOccurs when the user presses and releases an ANSI key while the Text Control has the input focus.
TXTextControl.KeyStateChangeOccurs when the character insertion mode or when the state of the NUMLOCK or CAPSLOCK key has been changed.
TXTextControl.KeyUpOccurs when the user releases a key while the Text Control has the input focus.
TXTextControl.MouseDownOccurs when the user presses a mouse button.
TXTextControl.MouseMoveOccurs when the user moves the mouse.
TXTextControl.MouseUpOccurs when the user releases a mouse button.
TXTextControl.PosChangeOccurs when the current character input position has been changed.
 
 
 

Products

Support

Downloads

Corporate

Buy Now