Visual Basic (Declaration) | |
---|---|
Public Enum EditorFocusCursorPosition Inherits System.Enum |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EditorFocusCursorPosition |
C# | |
---|---|
public enum EditorFocusCursorPosition : 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 | Position is determined by type of editor and/or 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 |
This example sets the EditorFocus property.
C# | Copy Code |
---|---|
Dim celltest As New FarPoint.Win.Spread.CellType.GeneralCellType(); celltest.FocusPosition = FarPoint.Win.Spread.CellType.EditorFocusCursorPosition.MouseLocation; FpSpread1.Sheets[0].Cells[0, 0].CellType = celltest; |
Visual Basic | Copy Code |
---|---|
Dim celltest As New FarPoint.Win.Spread.CellType.GeneralCellType celltest.FocusPosition = FarPoint.Win.Spread.CellType.EditorFocusCursorPosition.MouseLocation FpSpread1.Sheets(0).Cells(0, 0).CellType = celltest |
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.CellType.EditorFocusCursorPosition
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2