DisplayButtons (enable appropriate toolbar buttons:ToolbarClass)

Top  Previous  Next

 

DisplayButtons, VIRTUAL

The DisplayButtons method enables and disables the appropriate toolbar buttons for the active toolbar target.

The SetTarget method sets the active toolbar target.

Implementation:

The DisplayButtons method calls the ToolbarTarget.DisplayButtons method for the active toolbar target.

Example:

CODE

Toolbar.Init                           !initialize Toolbar object

 ToolBar.AddTarget( ToolBarForm, -1 )  !register an Update Form target

 Toolbar.DisplayButtons                !and enable appropriate toolbar buttons

                                       !for that target

See Also:     SetTarget