Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / TabAction Enumeration
Example Example


In This Topic
    TabAction Enumeration
    In This Topic
    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
    次のサンプルコードは、TabAction 列挙体を使用します。
    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

    See Also