Vcl.ComCtrls.TCustomListView.OnColumnDragged

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnColumnDragged: TNotifyEvent read FOnColumnDragged write FOnColumnDragged;

C++

__property System::Classes::TNotifyEvent OnColumnDragged = {read=FOnColumnDragged, write=FOnColumnDragged};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Occurs when a column is dragged to a new position.

Write an OnColumnDragged event handler to respond when the user drags a column to a new position. OnColumnDragged occurs after all columns are in their new positions but before the list view repaints to reflect the change.

OnColumnClick only occurs when ViewStyle is vsReport and ShowColumnHeaders is True.

Tip: To uniquely identify columns so that you can recognize them after they are repositioned, use the list column's Tag property.

See Also