void window.PressButton(int)
Applicable Classes: ToolBar
Return Type: void
Parameters: int nID
Description:
PressButton simulates a tool bar button press. The button that is pressed
is indicated by the parameter nID, and is 0-based (0 = index of first
button). Note that tool bar separators are considered buttons, and do
not respond to PressButton.
See ToolBar functions for an example.
See Also: ToolBar
Functions