FarPoint.Win Assembly > FarPoint.Win Namespace > SuperEditBase Class : AutoAdvance Property |
'Declaration Public Overridable Property AutoAdvance As Boolean
'Usage Dim instance As SuperEditBase Dim value As Boolean instance.AutoAdvance = value value = instance.AutoAdvance
public virtual bool AutoAdvance {get; set;}
When the this property is set to true, the user can use the arrow keys to move the cursor to other controls. Set the TabIndex and TabStop properties to designate a tab order. For more information, see the TabIndex and TabStop properties in the Microsoft .NET Framework Reference.
Press these keys | To move |
---|---|
Up Arrow or Left Arrow | To the previous control when the cursor is on or before the first character in a control |
Down Arrow or Right Arrow | To the next control when the cursor is on or after the last character in a control |
Up Arrow | To the previous control when the cursor is on the first line in a control |
Down Arrow | To the next control when the cursor is on the last line in a control |
When the user moves the cursor to the next control using an arrow key, an Advance event occurs.
control.Text = "This is a test of the pointer position."; control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition; control.AcceptsTab = true; control.AutoAdvance = false; control.MarginLeft = 5;
control.Text = "This is a test of the pointer position." control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition control.AcceptsTab = True control.AutoAdvance = False control.MarginLeft = 5
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8