Sign in Join
FPDoc Onlineexperiment

TCustomHeaderControl.OnSectionSeparatorDblClick property

Member of TCustomHeaderControlpublishedIn unit ComCtrls

Event handler signalled when a separator between header sections on the control is double-clicked.

Declaration

pascal
property OnSectionSeparatorDblClick: TCustomSectionNotifyEvent read FOnSectionSeparatorDblClick write FOnSectionSeparatorDblClick;

Description

OnSectionSeparatorDblClick is a TCustomSectionNotifyEvent property with the event handler signalled when the separator for a header section has been double-clicked. It is signalled (when assigned) from the SectionSeparatorDblClick method. It occurs when the DblClick method handles the mouse event when resize tracking has been enabled by hovering the mouse over the separator for the section.

An application can implement and assign a routine using the signature in TCustomSectionNotifyEvent to respond to the event notification. Arguments passed to the handler include the header control and the header section affected in the event.

Use OnSectionTrack and OnSectionResize to perform actions needed then resize tracking is activated or completed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.