SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Sets the starting and ending positions of the current selection in the edit control portion.
VB.NET | object.SetSelection(ByVal iStart As Integer, ByVal iEnd As Integer) |
VB | object.SetSelection(ByVal iStart As Long, ByVal iEnd As Long) |
C#.NET | void object.SetSelection(int iStart, int iEnd); |
VC++ | HRESULT object->SetSelection(long iStart, long iEnd); |
C | HRESULT object->raw_SetSelection(long iStart, long iEnd); |
object
iStart
The zero-based index of the first character where the selection is to start. If iStart is 0 and iEnd is -1, all the text in the edit control portion is selected. If iStart is -1, any current selection is removed.
iEnd
The zero-based index of the last character before which the selection is to end. If iStart is 0 and iEnd is -1, all the text in the edit control portion is selected.
The SetSelection method sets the starting and ending positions of the current selection in the edit control portion.
The text of the current selection in the edit control portion can be defined using the Edit.SelText property.
See Also SftBoxEdit Object | Object Hierarchy