User Tools

Site Tools


settoolbox_set_menu_item_toolbox_status_.htm
Navigation:  ABC Library Reference > PopupClass > PopupClass Methods >====== SetToolbox (set menu item toolbox status) ====== Previous pageReturn to chapter overviewNext page

SetToolbox( name, showflag )

blk2blue.jpg

SetToolbox Sets the menu item toolbox appearance status.
name A string constant, variable, EQUATE, or expression containing the menu item name. The AddItem, AddItemMimic, or AddMenu methods set the item name.
showflag A Boolean constant, variable, EQUATE, or expression containing the status to which to set the item. A showflag value of one (1) indicates that the item will appear on the toolbox; zero (0) indicates that the item will not appear on the toolbox.

The SetToolbox method sets whether or not the menu item will appear on a popup toolbox. The Toolbox method displays the popup menu in a toolbox format.

Implementation:

The SetToolbox method is used with the BrowseClass SetAlerts method when the BrowseClass ToolControl property is set to TRUE.

Example:

   IF SELF.ToolControl

     SELF.Popup.AddItem('-')

     SELF.Popup.SetToolbox(SELF.Popup.AddItemMimic(DefaultToolName,|

                           SELF.ToolControl,'!'&DefaultToolName),0)

   END

See Also:     BrowseClass.SetAlerts , Toolbox

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