ToolBar.UnClickItem Method (Typed) | |
Make a button look like it is "clicked-out" (returned to its normal state) after it has been "clicked-in" to indicate that it has been selected.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD UnClickItem(
nMenuItemID,
symTB
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual UnClickItem(
Usual nMenuItemID = default,
Usual symTB = default
)
Request Example
View SourceParameters
- nMenuItemID (Optional)
- Type: Usual
The menu item ID corresponding to the button that is unclicked.
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
ToolBar:ClickItem() and ToolBar:UnclickItem() are used to indicate status ("sticky" buttons). A toolbar button is normally clicked in (which turns the middle of the button black) and out (which returns the middle of the button to white) to indicate that its corresponding menu item has been checked or unchecked. A button retains its clicked-in state whether enabled or disabled.
See Also