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


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
Requirements

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

See Also

Reference

InputManCellTypeBase Class
InputManCellTypeBase Members
ExitOnLeftRightKey Property

 

 


Copyright © GrapeCity, inc. All rights reserved.