Class
WebToolbarItem
Description
The parent class for all items that can go into a toolbar. It is an abstract class and is not intended to be subclassed by a developer.
Properties
Name |
Type |
Read-Only |
Shared |
---|---|---|---|
Property descriptions
WebToolbarItem.Badge
Badge As String
A small graphical element used to displayed additional information alongside the WebToolbarItem.
The text appears in white on a round rectangle with a red background.
WebToolbarItem.Caption
Caption As String
The text that accompanies the WebToolbarItem to indicate its purpose.
WebToolbarItem.Enabled
Enabled As Boolean
If True, the item can be pressed. If False, it cannot be.
WebToolbarItem.Icon
Icon As WebPicture
The picture that is associated with the WebToolbarItem.
WebToolbarItem.Tag
Tag As Variant
A hidden value associated with the WebToolbarItem.
Since this is a Variant, this can be used to associate any type of data, even an object, with the WebToolbarItem.
WebToolbarItem.Tooltip
Tooltip As String
A helpful message that describes the purpose of the WebToolbarItem.
WebToolbarItem.Visible
Visible As Boolean
Indicates whether or not the WebToolbarItem is visible.
This property is useful when you need to hide/show WebToolbarItem's dynamically at runtime.
Compatibility
Web projects on all supported operating systems.
See also
Object parent class; WebToolbar and WebToolbarButton classes.