Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::SetEnterKeyBehavior method

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

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

Examples

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

See Also