ToolBar.IsClicked Method (Typed) | |
Return a logical value indicating whether the specified button is currently clicked or selected.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD IsClicked(
nID,
symIDType,
symTB
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual IsClicked(
Usual nID = default,
Usual symIDType = default,
Usual symTB = default
)
Request Example
View SourceParameters
- nID (Optional)
- Type: Usual
The ID of the desired toolbar button item. - symIDType (Optional)
- Type: Usual
Symbol indicating the type of data <nButtonID> represents. Valid values are #ButtonID and #MenuItemID. Defaults to #ButtonID. - symTB (Optional)
- Type: Usual
Symbolic name representing the toolbar to be used. Defaults to the main toolbar.
Return Value
Type:
Usual
TRUE if clicked (or selected); otherwise, FALSE.
Examples 1
2oTB:IsClicked(1)
3
4
5oTB:IsClicked(1, #ButtonID)
6
7
8oTB:IsClicked(IDM_StandardShellMenu_File_Open_ID, #MenuItemID)
See Also