Navigation:  ABC Library Reference > BrowseToolbarClass > BrowseToolbarClass Methods >====== ResetButton (synchronize a toolbar control with a corresponding browse control) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

ResetButton(toolbutton, browsebutton), PROTECTED

blk2blue.jpg

ResetButton Sync Toolbar control properties with its corresponding Browse control.
toolbutton An integer constant, variable, EQUATE, or expression that identifies a particular toolbar control.
browsebutton An integer constant, variable, EQUATE, or expression that identifies a specific browse control.

The ResetButton method enables/disables, hides/unhides a toolbar control based on the current properties of its corresponding browse control.

There are predefined equates that represent each button available on the toolbar. These equates can be found at the top of ABTOOLBA.INC.

Implementation:

This method is called by the BrowseToolBarClass.ResetFromBrowse method.