| Visual Basic (Declaration) | |
|---|---|
Public Enum FieldsEditorFocusCursorPosition Inherits System.Enum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As FieldsEditorFocusCursorPosition | |
| C# | |
|---|---|
public enum FieldsEditorFocusCursorPosition : System.Enum | |
| Member | Description |
|---|---|
| End | Positions the pointer at the end of the text in the control, without any text selected |
| FirstInputPosition | Positions the pointer at the first input position in the control, without any text selected |
| Inherit | Specifies that the position is determined by the editor type and selection policy |
| MouseLocation | Positions the pointer at the location of the pointer device, without any text selected |
| SelectAll | Positions the pointer at the beginning of the text in the control |
| SelectFieldOfMouseLocation | Positions the pointer at the location of the pointer device, and selects the enter field. |
This example uses the FieldsEditorFocusCursorPosition enumeration.
| C# | Copy Code |
|---|---|
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; | |
| VB.NET | Copy Code |
|---|---|
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 | |
System.Object
System.ValueType
System.Enum
GrapeCity.Win.Spread.InputMan.CellType.FieldsEditorFocusCursorPosition
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8