Skip to content

Header_Mouse_Click - DataList

Sent whenever a header has received a mouse click

Type: Event

Parameters

Parameter Type Description
Item# Integer

Syntax

Procedure Header_Mouse_Click Integer Item#

Description

The program checks whether pbHeaderTogglesDirection is set to True, the dbGrid already has the focus and the current column already matches the passed item number. If these three conditions are True, DoToggleColumnOrdering is sent, else Activate_Column is sent to change to the column belonging to the item. One of the effects of this is Item_Change being triggered.