Click or drag to resize

ToolBar.EnableItem Method

X#
Enable a button that has been disabled.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD EnableItem(
	nMenuItemID,
	symTB
) AS USUAL CLIPPER
Request Example View Source

Parameters

nMenuItemID (Optional)
Type: Usual
The menu item ID corresponding to the button that is to be removed. This is not the original button ID that defines the look of the button, reference is based on the menu item ID which defines the meaning of the button.
symTB (Optional)
Type: Usual
Symbolic name representing the toolbar to be used. Defaults to the main toolbar.

Return Value

Type: Usual
Remarks
A toolbar button is normally disabled and enabled in conjunction with its corresponding menu item. A button retains its clicked-in state whether enabled or disabled.
See Also