Fired when the user clicks on the control.
Parameters
Parameter | Description |
---|---|
Tab | The clicked tab |
Point | Mouse cursor location relative the control's top left corner |
Button | The button pressed during the click |
Shift | Indicates whether or not the SHIFT key is down |
Ctrl | Indicates whether or not the CTRL key is down |
Remarks
The OnClick event is fired when the user clicks on the tab control.
The Tab parameter contains the index to the tab that was clicked. If no tab was clicked, then this parameter will be set to zero.
The Point parameter contains the mouse cursors coordinates relative to the upper left corner of the control. It contains the x and y positions delimited by a comma, e.g, "100,100".
The Button parameter indicates the button that is used to fire the click event. This value is "Left" if the left mouse button was pressed, "Middle" if the middle mouse button was pressed, or "Right" if the right mouse button was pressed.
The Shift and Ctrl parameters indicate whether or not the SHIFT or CTRL keys, respectively, were pressed when the event was fired. If either key was pressed, then its corresponding parameter will have a value of 1.