Vcl.Grids.TInplaceEditList.TrackButton

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure TrackButton(X,Y: Integer);

C++

void __fastcall TrackButton(int X, int Y);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TInplaceEditList

Description

Changes the appearance of the button that opens the pick list according to its state.

The TrackButton method is used internally to check whether the button that opens the pick list was pressed. If the coordinates of the mouse cursor, given as parameters, are in the button's area and the button's state changes, TrackButton repaints the button.

See Also