## CommandButtonActiveXControl::SetTakeFocusOnClick method


Indicates whether the control takes the focus when clicked.

```cpp
void Aspose::Cells::Drawing::ActiveXControls::CommandButtonActiveXControl::SetTakeFocusOnClick(bool value)
```

## See Also

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