Navigation: ABC Library Reference > BrowseClass > BrowseClass Properties >====== Toolbar (browse Toolbar object) ====== | |
Toolbar | &ToolbarClass |
The Toolbar property is a reference to the ToolbarClass for this BrowseClass object. The ToolbarClass object collects toolbar events and passes them on to the active ToolbarTarget object for processing.
The AddToolbarTarget method registers a ToolbarTarget, such as a ToolbarListBoxClass object, as a potential target of a ToolbarClass object.
The ToolbarClass.SetTarget method sets the active target for a ToolbarClass object.
Implementation:
The ToolbarClass object for a browse is the object that detects toolbar events, such as scroll down or page down, and passes them on to the active ToolbarListBoxClass (ToolbarTarget) object. In the standard template implementation, there is a single global toolbar, and a ToolbarClass object per procedure that may drive several different browses and forms, each of which is a ToolbarTarget. Only one ToolbarTarget is active at a time.
See Also: ToolbarItem, AddToolbarTarget, ToolbarClass.SetTarget