Spread Windows Forms 7.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 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.