# ToolbarButton

Xojo provides a <span class="title-ref">ToolbarButton</span> control for desktop, mobile and web projects:

- `DesktopToolbarButton</api/user_interface/desktop/desktoptoolbarbutton>`
- `MobileToolbarButton</api/user_interface/mobile/mobiletoolbarbutton>`
- `WebToolbarButton</api/user_interface/web/webtoolbarbutton>`

## Common members

These properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

### Properties

| Name    | Description                                                                                     |
|---------|-------------------------------------------------------------------------------------------------|
| Caption | The button's caption.                                                                           |
| Enabled | If `True</api/language/true>`, the button is enabled.                                           |
| Icon    | The button's icon.                                                                              |
| Menu    | The optional menu connected to the button. Not supported for mobile projects.                   |
| Tooltip | Additional text that appears when you hover over the button. Not supported for mobile projects. |

<div class="seealso">

`DesktopToolbarButton</api/user_interface/desktop/desktoptoolbarbutton>`, `MobileToolbarButton</api/user_interface/mobile/mobiletoolbarbutton>` and `WebToolbarButton</api/user_interface/web/webtoolbarbutton>`

</div>
