Vcl.DBCGrids.TDBCtrlGrid.ShowFocus

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShowFocus: Boolean read FShowFocus write FShowFocus default True;

C++

__property bool ShowFocus = {read=FShowFocus, write=FShowFocus, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DbCGrids.pas
Vcl.DBCGrids.hpp
Vcl.DBCGrids TDBCtrlGrid

Description

Indicates whether to draw a focus rectangle around the current record in the TDBCtrlGrid when it has input focus.

Set ShowFocus to true to have TDBCtrlGrid draw a focus rectangle around the current record when it has input focus. Set ShowFocus to false when providing visual feedback of focus in some other manner in an OnPaintPanel event handler.

See Also