Spread Windows Forms 8.0 Product Documentation
TabAction Enumeration
Example Example 


Specifies how the tab key works.
Syntax
'Declaration
 
Public Enum TabAction 
   Inherits System.Enum
'Usage
 
Dim instance As TabAction
public enum TabAction : System.Enum 
Members
MemberDescription
ControlUsed to move focus between controls.
FieldUsed to move the cursor position between fields in the control.
Remarks
The Tab key moves focus among controls or fields.
Example
This example uses the TabAction enumeration.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.FieldsEditorFocusCursorPosition.FirstInputPosition;
inputcell.TabAction = GrapeCity.Win.Spread.InputMan.CellType.TabAction.Field;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType
inputcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.FieldsEditorFocusCursorPosition.FirstInputPosition
inputcell.TabAction = GrapeCity.Win.Spread.InputMan.CellType.TabAction.Field
FpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.TabAction

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

Reference

GrapeCity.Win.Spread.InputMan.CellType Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.