User Tools

Site Tools


displaybuttons_enable_appropriate_toolbar_buttons_toolbartarget_.htm
Navigation:  ABC Library Reference > ToolbarTargetClass > ToolbarTarget Methods >====== DisplayButtons (enable appropriate toolbar buttons:ToolbarTarget) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

DisplayButtons, VIRTUAL

blk2blue.jpg

The DisplayButtons method enables and disables the appropriate toolbar buttons for the ToolbarTarget object based on the values of the HelpButton, InsertButton, ChangeButton, DeleteButton, and SelectButton properties.

Implementation:

The ToolbarListboxClass.TakeToolbar, ToolbarRelTreeClass.TakeToolbar, and ToolbarUpdateClass.TakeToolbar methods call the DisplayButtons method. The DisplayButtons method appropriately enables and disables toolbar buttons common to all ToolbarTarget objects.

Example:

MyToolbarListboxClass.DisplayButtons PROCEDURE

CODE

PARENT.DisplayButtons              !Call base class DisplayButtons

!your custom code here

See Also:     HelpButton, InsertButton, ChangeButton, DeleteButton, SelectButton, TakeToolbar, ToolbarRelTreeClass.TakeToolbar, ToolbarUpdateClass.TakeToolbar

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