Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.
« »

InputPosition Inside or Outside a TextField

Blogged by Björn Meyer on November 02, 2006 and tagged with Samples, .NET.

TX Text Control .NET 13.0 introduces a new constructor of the InputPosition class that determines the exact input position at the beginning or at the end of a TextField.

If the textPosition parameter is a position at the beginning or at the end of a TextField with a doubled input position. This parameter can be used to define whether the position is inside or outside the field.

The following values are possible:

InsideTextField: The specified position is inside the field.

OutsideTextField: The specified position is outside the field.

InsideNextTextField: The specified position is inside the next field.

The following code can be used to set the input position of a specific field (newField) to end and outside of the field:

textControl1.InputPosition = new TXTextControl.InputPosition((newField.Start - 1) _
+ newField.Length, TXTextControl.TextFieldPosition.OutsideTextField);
« Prev:RapidSpell 3.7 Beta Including TX 13.0 Support
» Next:TX Text Control vs. Google Docs and Zoho Writer

top

Top 10 Bestselling Product Award 2007Top 25 Publisher Product Award 2007Top 10 Bestselling Product Award 2007 in JapanTop 25 Bestselling Product Award 2006Top 25 Bestselling Publisher Award 2006Reader's Choice Award, dot.net magazin, 3rd place