Text Control"; TXTextControl.Selection mySel = new TXTextControl.Selection(3, 4); mySel.Start = 0; mySel.Bold = true; mySel.Italic = true; textControl1.Selection = mySel; TextControl1.Text = "TX Text Control" Dim mySel as TXTextControl.Selection = New TXTextControl.Selection(3, 4) mySel.Start = 0
Text Control"; TXTextControl.Selection mySel = new TXTextControl.Selection(3, 4); mySel.Start = 0; mySel.Bold = true; mySel.Italic = true; textControl1.Selection = mySel; TextControl1.Text = "TX Text Control" Dim mySel as TXTextControl.Selection = New TXTextControl.Selection(3, 4) mySel.Start = 0
Start Property Selection Class TXTextControl.Web Namespace Gets the starting point of selected text. The first possible position is 0. Syntax C# VB.NET public int Start { get; } Public ReadOnly Property Start() As Integer public int Start { get; } Public ReadOnly
Text Control"; TXTextControl.Selection mySel = new TXTextControl.Selection(3, 4); mySel.Start = 0; mySel.Bold = true; mySel.Italic = true; textControl1.Selection = mySel; TextControl1.Text = "TX Text Control" Dim mySel as TXTextControl.Selection = New TXTextControl.Selection(3, 4) mySel.Start = 0
Gets or sets the starting position of the text selected in the text box Introduced: X16. Syntax C# VB.NET public int SelectionStart { get; set; } Public Property SelectionStart() As Integer public int SelectionStart { get; set; } Public Property SelectionStart() As Integer
TXTextControl.Selection.setBounds Method Sets the selection start and length. Takes a SelectionBounds object as a parameter. Syntax [JavaScript] Selection.setBounds( bounds); Parameter Description bounds A SelectionBounds object.
versions. Sets the selection's start position and length. JavaScript Selection.setBounds( bounds, [ callback], [ errorCallback]) Selection.setBounds( bounds, [ callback], [ errorCallback]) Parameters Parameter Description bounds Selection start position and length. callback Optional. Is
selection Property TXTextControl Object JavaScript API Returns the current selection or sets the selection's position and length. The setter must be used as follows: TXTextControl.selection = { start: 2, length: 5 } Introduced: X14. Syntax JavaScript TXTextControl.selection TXTextControl
+1 704-544-7445 (United States)
+1 855-533-8398 (United States, toll free)
Or send us an email: