[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomHeaderControl.SectionEndDrag

Signals the OnSectionEndDrag event handler (when assigned).

Declaration

Source position: comctrls.pp line 4068

protected procedure TCustomHeaderControl.SectionEndDrag; virtual;

Description

SectionEndDrag is called from the MouseUp method when the a mouse button is released during a drag operation for a header section on the control. It is called after the selected header section has been reordered by updating its Index property.

Use OnSectionEndDrag to perform any actions needed when the section order has been updated in a drag operation.

Use DragReorder to enable or disable drag operations for the Sections on the header control.

See also

TCustomHeaderControl.OnSectionEndDrag

  

Event handler signalled when a drag and drop operation for a section is completed.

TCustomHeaderControl.Mouseup

  

Signals the OnMouseUp handler.

TCustomHeaderControl.Sections

  

Sections - the short segments of the header separated by vertical bars that function as the elementary selection units of the header.

TCustomHeaderControl.DragReorder

  

Enables or disables reordering of header sections on the control using drag and drop.

THeaderSection.OriginalIndex

  

Index position which does not change when the user reorders the sections on a header control.

TCollectionItem.Index


Version 4.0 Generated 2025-05-03 Home