TextBoxActiveXControl.EnterKeyBehavior

TextBoxActiveXControl.EnterKeyBehavior property

Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that pressing ENTER will move the focus to the next object in the tab order.

public bool EnterKeyBehavior { get; set; }

Examples

[C#]
if(!activeXControl.EnterKeyBehavior)
{
    activeXControl.EnterKeyBehavior = true;
}

See Also