Navigation: ABC Library Reference > BrowseClass > BrowseClass Properties >====== ToolbarItem (browse ToolbarTarget object) ====== | |
ToolbarItem | &ToolbarListBoxClass |
The ToolbarItem property is a reference to the ToolbarListBoxClass for this BrowseClass object. The ToolbarListBoxClass (ToolbarTarget) object receives toolbar events (from a ToolbarClass object) and processes them.
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: Toolbar, AddToolbarTarget, ToolbarClass.SetTarget