RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBCtrlGrid.ShowFocus Property

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

Pascal
property ShowFocus: Boolean;
C++
__property Boolean ShowFocus;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!