Property AcceptTabs
AcceptTabs
Gets or set a boolean value that indicates whether TAB key should be accepted by SyntaxEdit control as input key.
public virtual bool AcceptTabs { get; set; }
Property Value
Examples
Here is how to use a AcceptTabs in the C# code:
public partial class Form1 : Form
{
private void Form1_Load(object sender, EventArgs e)
{
var syntaxEdit1 = new Alternet.Editor.SyntaxEdit(this.components);
syntaxEdit1.AcceptTabs = false;
}
}
Here is how to use a AcceptTabs in the Visual Basic code:
Partial Public Class Form1
Inherits Form
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim syntaxEdit1 = New Alternet.Editor.SyntaxEdit(Me.components)
syntaxEdit1.AcceptTabs = False
End Sub
End Class
Remarks
By default, pressing the TAB key in a multiline SyntaxEdit inserts a TAB character in the text. Setting this property to false will move the input focus to the following control in the form's tab order.