ToolBar.IsPressed Method (Typed) | |
Determine whether a button is pressed.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD IsPressed(
nID,
symIDType,
symTB
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual IsPressed(
Usual nID = default,
Usual symIDType = default,
Usual symTB = default
)
Request Example
View SourceParameters
- nID (Optional)
- Type: Usual
The ID of the button whose state you want to determine. This is either the button ID or the menu item ID, depending on the value of <symLookup>. - symIDType (Optional)
- Type: Usual
A symbol that describes how to interpret <nID>. If the value is #ButtonID, <nID> is the button ID of the button; otherwise, if the value is #MenuItemID, <nID> is the menu item ID of the button. If omitted, <nID> is interpreted as the button ID. - symTB (Optional)
- Type: Usual
Symbolic name representing the toolbar to be used. Defaults to the main toolbar.
Return Value
Type:
Usual
TRUE if the button is pressed; otherwise, FALSE.
See Also