ToolBar.DisableItem Method (Typed) | |
Disable a button.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD DisableItem(
nMenuItemID,
symTB
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual DisableItem(
Usual nMenuItemID = default,
Usual symTB = default
)
Request Example
View SourceParameters
- nMenuItemID (Optional)
- Type: Usual
The menu item ID corresponding to the button that is to be disabled.
This is not the original button ID that defines the look of the button; rather it is 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:
UsualRemarks
A toolbar button is normally disabled (dimmed) and enabled (blackened) in conjunction with its corresponding menu item. A button retains its clicked-in state whether enabled or disabled.
See Also