Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::GetEnterKeyBehavior method

TextBoxActiveXControl::GetEnterKeyBehavior method

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.

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

Examples

if (!activeXControl.GetEnterKeyBehavior())
{
    activeXControl.SetEnterKeyBehavior(true);
}

See Also