Spread Windows Forms 7.0 Product Documentation
ExitOnLastChar Property
See Also  Example Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > InputManCellTypeBase Class : ExitOnLastChar Property


Glossary Item Box

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

Visual Basic (Declaration) 
Public Property ExitOnLastChar As Boolean
Visual Basic (Usage)Copy Code
Dim instance As InputManCellTypeBase
Dim value As Boolean
 
instance.ExitOnLastChar = value
 
value = instance.ExitOnLastChar
C# 
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.
C#Copy Code
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;
VB.NETCopy Code
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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