Phantom Documentation

[Help Home] [Phantom Home]
PressButton

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


Copyright 2000-2011 Phantom Automated Solutions