Fired when the user clicks on a hyperlink in a header cell.

Parameters

ParameterDescription
HeaderCellHeaderCell whose hyperlink was clicked
PointThe location of the cursor when the hyperlink was clicked
ButtonThe button used to the click the hyperlink
ShiftIndicates whether or not the SHIFT key is down
CtrlIndicates whether or not the CTRL key is down

Remarks

The OnHeaderHyperClick event is fired when the user clicks on a hyperlink within a header cell.

The HeaderCell parameter indicates the header cell whose hyperlink was clicked. It contains the column and row location delimited by a semi-colon. For example, clicking on the hyperlink of the top left header cell will return "1;1".

The Point parameter indicates the relative location of the mouse cursor within the table when the hyperlink was clicked.

The Button parameter indicates which mouse button was used to the click the hyperlink and is one of three values: "Left", "Middle", or "Right".

The Shift and Ctrl parameters are boolean values indicating whether or not the SHIFT or CTRL key are down respectively.

Example

Transfer Param1 to HeaderCell 
Transfer Param2 to Point 
Transfer Param3 to Button 
Transfer Param4 to Shift 
Transfer Param5 to Ctrl 

// Show a balloon tooltip message when the hyperlink is clicked 
rv = Msg(@Window, "You clicked the hyperlink for header cell: ":HeaderCell)

See Also

HeaderTypeOnHyperClick

  • No labels