Spread Windows Forms 7.0 Product Documentation
Select(Int32,Int32) Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > EditBase Class > Select Method : Select(Int32,Int32) Method


start
The position of the first character in the current text selection within the text box.
length
The number of characters to select.

Glossary Item Box

Selects a range of text in the control.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Select( _
   ByVal start As Integer, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As EditBase
Dim start As Integer
Dim length As Integer
 
instance.Select(start, length)
C# 
public void Select( 
   int start,
   int length
)

Parameters

start
The position of the first character in the current text selection within the text box.
length
The number of characters to select.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeExceptionThe value of the start parameter is less than zero.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.