## 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.

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


## Examples


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

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [TextBoxActiveXControl](../)
* Namespace [Aspose::Cells::Drawing::ActiveXControls](../../)
* Library [Aspose.Cells for C++](../../../)
