Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::GetEnterFieldBehavior method

TextBoxActiveXControl::GetEnterFieldBehavior 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.

bool Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::GetEnterFieldBehavior()

Examples

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

See Also