Gets or sets whether the control displays a context menu that provides basic edit operations.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property AutoMenu As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SuperEditBase
Dim value As Boolean
instance.AutoMenu = value
value = instance.AutoMenu |
C# | |
---|
public virtual bool AutoMenu {get; set;} |
Property Value
Boolean value:
true for the control to automatically use the drop-down menu;
false otherwise
Remarks
Example
C# | Copy Code |
---|
control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition;
control.Text = "This is a test for HideSelection";
control.ControlType = FarPoint.Win.ControlType.Normal;
control.SelectionStart = 2;
control.SelectionLength = 5;
control.Selectable = true;
control.HideSelection = false;
control.AutoMenu = true;
textBox1.Text = control.SelectedText();
control.MaxLength = 9;
|
Visual Basic | Copy Code |
---|
control.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.LastKnownPosition
control.Text = "This is a test for HideSelection"
control.ControlType = FarPoint.Win.ControlType.Normal
control.SelectionStart = 2
control.SelectionLength = 5
control.Selectable = True
control.HideSelection = False
control.AutoMenu = True
TextBox1.Text = control.SelectedText()
control.MaxLength = 9
|
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