Spread Windows Forms 12.0 Product Documentation
EditModeCursorPosition Property
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > SuperEditBase Class : EditModeCursorPosition Property
Gets or sets the position of the pointer in the edit control when it receives the focus.
Syntax
'Declaration
 
Public Overridable Property EditModeCursorPosition As EditModeCursorPosition
'Usage
 
Dim instance As SuperEditBase
Dim value As EditModeCursorPosition
 
instance.EditModeCursorPosition = value
 
value = instance.EditModeCursorPosition
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
control.Text = "This is a test of the pointer position.";
control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition;
control.AcceptsTab = true;
control.MarginLeft = 5;
control.Text = "This is a test of the pointer position."
control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition
control.AcceptsTab = True
control.MarginLeft = 5
See Also

Reference

SuperEditBase Class
SuperEditBase Members
EditModeCursorPosition Enumeration