User Tools

Site Tools


toolbar_browse_toolbar_object_vcr.htm
Navigation:  ABC Library Reference > FormVCRClass > FormVCRClass Properties >====== Toolbar (FormVCR 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 FormVCRClass 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 FormVCR controls 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.

toolbar_browse_toolbar_object_vcr.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1