Class
WebToolbarSpace
Description
A fixed space control for the WebToolbar. Use the WebToolbarFlexibleSpace for a flexible space.
Properties
Name |
Type |
Read-Only |
Shared |
---|---|---|---|
Property descriptions
WebToolbarSpace.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.
WebToolbarSpace.Caption
Caption As String
The text that accompanies the WebToolbarItem to indicate its purpose.
WebToolbarSpace.Enabled
Enabled As Boolean
If True, the item can be pressed. If False, it cannot be.
WebToolbarSpace.Icon
Icon As WebPicture
The picture that is associated with the WebToolbarItem.
WebToolbarSpace.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.
WebToolbarSpace.Tooltip
Tooltip As String
A helpful message that describes the purpose of the WebToolbarItem.
WebToolbarSpace.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.
Notes
The WebToolbarSpace has no additional properties or methods of its own. To add a space to a toolbar, follow the directions that are described in the WebToolbar description.
Compatibility
Web projects on all supported operating systems.
See also
WebToolbarItem parent class; WebMenuItem, WebToolbar, WebToolbarButton, WebToolbarContainer, WebToolbarFlexibleSpace, WebToolbarMenu, WebToolbarSeparator classes.