Occurs when a box is clicked with the mouse.
SyntaxVB6
Copy Code
|
|---|
Public Event BoxClicked |
Event DataParameter | Type | Description |
|---|---|---|
box | [input] reference to a Box | The box that is clicked. |
button | [input] EMouseButton enumeration | The button that is pressed. |
x | [input] long | The x coordinate of the point inside the box bounding rectangle. |
y | [input] long | The y coordinate of the point inside the box bounding rectangle. |
Dispatch ID: 20
RemarksRaised when a box is clicked. The button argument identifies the pressed button (mbLeft, mbRight, mbMiddle). The (x, y) point is relative to the upper left corner of box' bounding rectangle and is measured in document coordinates.
See Also