|
|
|
SftMask.SelStart Property |
Defines the start of the selected text.
Syntax
VB.NET |
Start = object.SelStart As Integer |
||
VB |
Start = object.SelStart As Long |
||
C#.NET |
int Start = object.SelStart; |
||
VC++ |
long Start = object->SelStart;
|
||
C |
HRESULT object->get_SelStart(long* Start); |
||
Delphi |
Start := object.SelStart : Integer; |
||
VB.NET |
object.SelStart = Start As Integer |
||
VB |
object.SelStart = Start As Long |
||
C#.NET |
int object.SelStart = Start; |
||
VC++ |
long object->SelStart = Start;
|
||
C |
HRESULT object->put_SelStart(long Start); |
||
Delphi |
object.SelStart := Start : Integer; |
object
A SftMask object.
Start
Defines the start of the selected text. This is the location where the selection begins and is also the insertion point.
Comments
The SelStart property defines the start of the selected text.
The selected text or current selection always starts at the index defined by the SelStart property which is also the caret location or insertion point.
The selection extends from the position defined by SelStart towards the end of the text if SelLength is a positive value. If SelLength is a negative value, the selection extends from the position defined by SelStart towards the beginning of the text.
The OptimalPosition method can be used to insure that the insertion point is at a suitable location for data entry.