Spread Windows Forms 7.0 Product Documentation
EditorFocusCursorPosition Enumeration
Example  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace : EditorFocusCursorPosition Enumeration


Glossary Item Box

Specifies the position of the pointer when the edit control receives the focus.

Syntax

Visual Basic (Declaration) 
Public Enum EditorFocusCursorPosition 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As EditorFocusCursorPosition
C# 
public enum EditorFocusCursorPosition : 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/or 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

Example

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 BasicCopy 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

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.CellType.EditorFocusCursorPosition

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.