Spread Windows Forms 6.0 Product Documentation
EditModeCursorPosition Property
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > SuperEditBase Class : EditModeCursorPosition Property


Glossary Item Box

Gets or sets the position of the pointer in the edit control when it receives the focus.

Syntax

Visual Basic (Declaration) 
Public Overridable Property EditModeCursorPosition As EditModeCursorPosition
Visual Basic (Usage)Copy Code
Dim instance As SuperEditBase
Dim value As EditModeCursorPosition
 
instance.EditModeCursorPosition = value
 
value = instance.EditModeCursorPosition
C# 
public virtual EditModeCursorPosition EditModeCursorPosition {get; set;}

Property Value

EditModeCursorPosition setting that determines the position of the pointer in the edit control when it receives the focus

Remarks

Some controls display a cursor when they receive the focus. Specify the position of the cursor by setting this property.

Example

C#Copy Code
control.Text = "This is a test of the pointer position.";
control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition;
control.AcceptsTab = true;
control.MarginLeft = 5;
Visual BasicCopy Code
control.Text = "This is a test of the pointer position."
control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition
control.AcceptsTab = True
control.MarginLeft = 5

Requirements

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

See Also

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