FarPoint.Win アセンブリ > FarPoint.Win 名前空間 > SuperEditBase クラス : SelectionStart プロパティ |
'宣言
Public Overridable Property SelectionStart As Integer
public virtual int SelectionStart {get; set;}
このプロパティの値はコントロール内の文字数に基づきます。最初の位置はゼロです。
このプロパティが使用できるのは実行時のみです。
control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition; control.Text = "This is a test for HideSelection"; control.ControlType = FarPoint.Win.ControlType.Normal; control.SelectionStart = 2; control.SelectionLength = 5; control.Selectable = true; control.HideSelection = false; control.AutoMenu = true; textBox1.Text = control.SelectedText(); control.MaxLength = 9;
control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition control.Text = "This is a test for HideSelection" control.ControlType = FarPoint.Win.ControlType.Normal control.SelectionStart = 2 control.SelectionLength = 5 control.Selectable = True control.HideSelection = False control.AutoMenu = True TextBox1.Text = control.SelectedText() control.MaxLength = 9