Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::SetEnterFieldBehavior method

TextBoxActiveXControl::SetEnterFieldBehavior method

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.

void Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::SetEnterFieldBehavior(bool value)

Examples

if (!activeXControl.GetEnterFieldBehavior())
{
    activeXControl.SetEnterFieldBehavior(true);
}

See Also