ClickCol Method (DataGrid)

Class

DataGrid.

Action

Makes a column visible, and then clicks on its header.

Syntax

Datagrid.ClickCol (DataGridCell [,iButton, iXpos, iYpos, iCount])
Variable Description
DataGridCell The DataGridCell to click in. DATAGRIDCELL.
iButton Optional: The mouse button to press (default is 1): Windows: 1 for left , 2 for right, and 3 for center. INTEGER.
iXpos Optional: The horizontal coordinate at which to click. If you specify iXpos, you must also specify iYpos. The default is the center of the cell. INTEGER.
iYpos Optional: The vertical coordinate at which to click. If you specify iYpos, you must also specify iXpos. The default is the center of the cell. INTEGER.
iCount Optional: The number of times to click the mouse. The default is 1. INTEGER.

Notes

Row zero represents the column header. Row 1 is the first data row.