Spread Windows Forms 12.0 Product Documentation
ExitOnLastChar Property (InputManCellTypeBase)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > InputManCellTypeBase Class : ExitOnLastChar Property
Gets or sets whether the next control in the tab order receives the focus as soon as the control is filled with the last character.
Syntax
'Declaration
 
Public Property ExitOnLastChar As Boolean
'Usage
 
Dim instance As InputManCellTypeBase
Dim value As Boolean
 
instance.ExitOnLastChar = value
 
value = instance.ExitOnLastChar
public bool ExitOnLastChar {get; set;}

Property Value

true if the focus is moved to the next control in the tab order as soon as the control is filled with the last character defined by the input control; otherwise, false.
The default is false.
Remarks
The input focus moves to the next control when the last entered character causes the text to exceed what the control accepts.
Example
This example uses the ExitOnLastChar property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.ExitOnLastChar = true;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
inputcell.ExitOnLastChar = True
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
See Also

Reference

InputManCellTypeBase Class
InputManCellTypeBase Members
ExitOnLeftRightKey Property