TextBoxActiveXControl.EnterFieldBehavior

TextBoxActiveXControl.EnterFieldBehavior property

Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering the control.

public bool EnterFieldBehavior { get; set; }

Examples

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

See Also