Vcl.DBGrids.TDBGrid.OnTitleClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnTitleClick: TDBGridClickEvent read FOnTitleClick write FOnTitleClick;

C++

__property OnTitleClick;

Properties

Type Visibility Source Unit Parent
event published
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TDBGrid

Description

Occurs when the user releases the mouse in one of the column headers.

Vcl.DBGrids.TDBGrid.OnTitleClick inherits from Vcl.DBGrids.TCustomDBGrid.OnTitleClick. All content below this line refers to Vcl.DBGrids.TCustomDBGrid.OnTitleClick.

Occurs when the user releases the mouse in one of the column headers.

Write an OnTitleClick event handler to take specific action when the user clicks in one of the column headers. The Column parameter is the TColumn object that corresponds to the column where the mouse was when the user released the left mouse button.

See Also