|Navigation: ABC Library Reference > BrowseClass > BrowseClass Methods >====== AddToolbarTarget (set the browse toolbar) ======
AddToolbarTarget( toolbar )
|Registers the browse list as a potential target of the specified toolbar.
|The label of the ToolbarClass object that directs toolbar events to this BrowseClass object.
The AddToolbarTarget method registers the BrowseClass object as a potential target of the specified toolbar.
The ToolbarClass.SetTarget method sets the active target for a ToolbarClass object.
The Toolbar 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 ToolbarTarget object. In the standard template implementation, there is a single global toolbar, and a Toolbar 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.
!tie BrowseSt object to Toolbar object
!tie BrowseZIP object to Toolbar object
Browse:Toolbar.SetTarget(?StList) !state list is current toolbar target
Browse:Toolbar.SetTarget(?ZIPList) !ZIP list is current toolbar target