Skip to main content

DoClick Method

Fires the OnClick event.

Definition​

DoClick(Point, Point, Button, Shift, Ctrl)

Parameters​

ParameterDescription
PointThe mouse coordinates, formatted as "x,y"
ButtonThe button pressed
ShiftShift key status
CtrlControl key status

Remarks​

The DoClick method fires the OnClick event programmatically. The parameters you supply will be passed as is to the event handler.

Example​

// Fire the OnClick event
Send_Message(@Window:".OLE_PICTURE", "OLE.DoClick", "0,0", "Left", 0, 0)