ToolItem.Tag
From Xojo Documentation
This item was deprecated in version 2019r2. Please use ToolbarItem.Tag as a replacement. |
Property (As Variant )
aToolItem.Tag = newVariantValue
or
VariantValue = aToolItem.Tag
Supported for all project types and targets.
or
VariantValue = aToolItem.Tag
Supported for all project types and targets.
A “hidden” value associated with the tool item.
Notes
The tag is accessible via code when the user chooses the tool item but, unlike the Caption property, is not displayed in the toolbar.
Example
This example is in the Toolbar Open event of the main window.
Me.SaveButton.Tag = folderItemToSave