TCDDrawerCommon.DrawFocusRect procedure
Draws a focus rectangle on the specified canvas.
Declaration
procedure DrawFocusRect(ADest: TFPCustomCanvas; ADestPos: TPoint;
ASize: TSize); overrideArguments
ADest | Canvas where the focus rectangle is drawn. |
ADestPos | Position where the top-left corner of the focus rectangle is located on the canvas. |
ASize | Contains the width and height for the focus rectangle. |
Description
DrawFocusRect is an overridden method in
TCDDrawerCommon. It implements the abstract virtual method
introduced in the
TCustomDrawer ancestor. It is used to draw a
focus rectangle to the canvas specified in
ADest.
ADestPos is a
TPoint instance which contains the canvas
coordinates (in the X and Y members) for the top-left corner of the focus
rectangle.
ASize is a
TSize instance which contains the width and
height (in the CX and CY members) for the focus rectangle.
In TCDDrawerCommon, DrawFocusRect draws the focus rectangle as a dotted black line on a white background. Other areas on ADest are not affected in the method.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
