User Tools

Site Tools


toolbar_browse_toolbar_object_.htm
Navigation:  ABC Library Reference > BrowseClass > BrowseClass Properties >====== Toolbar (browse Toolbar object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
Toolbar &ToolbarClass

blk2blue.jpg

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

toolbar_browse_toolbar_object_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)