property Pivot.DataColumnFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as Long
Retrieves the index of the data column from the point.

TypeDescription
X as OLE_XPOS_PIXELS A single that specifies the current X location of the mouse pointer. The x values is always expressed in client coordinates.
Y as OLE_YPOS_PIXELS A single that specifies the current X location of the mouse pointer. The x values is always expressed in client coordinates.
Long A Long expression that determines the index of the data column from the cursor. The DataColumnFromPoint property returns -1, if no data column is found at the cursor.
The DataColumnFromPoint property retrieves the index of the data column from the point, or -1 if not data column is found. The ColumnFromPoint(-1,-1) gets the column from the current cursor position, while it hovers the control's list part. The ValueFromPoint property gets the value from the cursor, while it hovers the control's list part.