Toolbar
Xojo provides a Toolbar control for desktop, mobile and web projects:
Common members
These events and methods 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.
Events
Name |
Description |
---|---|
Pressed |
A button in the toolbar was pressed. |
Note
In mobile projects, the MobileToolbar is built-in to the Screen which has a ToolbarButtonPressed event.
Methods
Name |
Description |
---|---|
AddButton |
Adds the toolbar button passed to the toolbar. |
AddButtonAt |
Adds the toolbar button passed to the toolbar at the index passed. |
ButtonAt |
Returns the toolbar button at the index passed. |
RemoveButtonAt |
Removes the toolbar button at the index passed. |
Note
The WebToolbar uses item rather than button in these methods names but the functionality is the same.