'Declaration Public Enum EditorBaseFocusCursorPosition Inherits System.Enum
'Usage Dim instance As EditorBaseFocusCursorPosition
public enum EditorBaseFocusCursorPosition : System.Enum
'Declaration Public Enum EditorBaseFocusCursorPosition Inherits System.Enum
'Usage Dim instance As EditorBaseFocusCursorPosition
public enum EditorBaseFocusCursorPosition : 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 |
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType(); textcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.EditorBaseFocusCursorPosition.MouseLocation; textcell.GridLine = new GrapeCity.Win.Spread.InputMan.CellType.Line(GrapeCity.Win.Spread.InputMan.CellType.LineStyle.Dashed, Color.DarkGreen); textcell.LineSpace = 2; textcell.ScrollBarMode = GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.Automatic; textcell.ScrollBars = ScrollBars.Both; textcell.Multiline = true; fpSpread1.Sheets[0].Cells[0, 0].CellType = textcell;
Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType() textcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.EditorBaseFocusCursorPosition.MouseLocation textcell.GridLine = New GrapeCity.Win.Spread.InputMan.CellType.Line(GrapeCity.Win.Spread.InputMan.CellType.LineStyle.Dashed, Color.DarkGreen) textcell.LineSpace = 2 textcell.ScrollBarMode = GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.Automatic textcell.ScrollBars = ScrollBars.Both textcell.Multiline = True fpSpread1.Sheets(0).Cells(0, 0).CellType = textcell
System.Object
System.ValueType
System.Enum
GrapeCity.Win.Spread.InputMan.CellType.EditorBaseFocusCursorPosition