Click or drag to resize

ToolBar.IsPressed Method

X#
Determine whether a button is pressed.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD IsPressed(
	nID,
	symIDType,
	symTB
) AS USUAL CLIPPER
Request Example View Source

Parameters

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