Spread Windows Forms 11.0 Product Documentation
FieldsEditorFocusCursorPosition Enumeration
Example Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace : FieldsEditorFocusCursorPosition Enumeration
Specifies the position of the pointer when the edit control receives the focus.
Syntax
'Declaration
 
Public Enum FieldsEditorFocusCursorPosition 
   Inherits System.Enum
'Usage
 
Dim instance As FieldsEditorFocusCursorPosition
public enum FieldsEditorFocusCursorPosition : System.Enum 
Members
MemberDescription
EndPositions the pointer at the end of the text in the control, without any text selected
FirstInputPositionPositions the pointer at the first input position in the control, without any text selected
InheritSpecifies that the position is determined by the editor type and selection policy
MouseLocationPositions the pointer at the location of the pointer device, without any text selected
SelectAllPositions the pointer at the beginning of the text in the control
SelectFieldOfMouseLocationPositions the pointer at the location of the pointer device, and selects the enter field.
Example
This example uses the FieldsEditorFocusCursorPosition 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.FieldsEditorFocusCursorPosition

See Also

Reference

GrapeCity.Win.Spread.InputMan.CellType Namespace