Vcl.DBLookup.TDBLookupList.HighlightCell

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HighlightCell(DataCol, DataRow: Integer; const Value: string;  AState: TGridDrawState): Boolean; override;

C++

virtual bool __fastcall HighlightCell(int DataCol, int DataRow, const System::UnicodeString Value, Vcl::Grids::TGridDrawState AState);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DbLookup.pas
Vcl.DBLookup.hpp
Vcl.DBLookup TDBLookupList

Description

Indicates whether a specified cell should be highlighted when it is drawn.

Applications cannot call this protected method. It is used internally to determine whether the cell specified by the DataCol and DataRow parameters should be highlighted. HighlightCell returns True if the cell has focus, False otherwise.