procedure DrawFocusRect(const Rect: TRect); override;
virtual void __fastcall DrawFocusRect(const System::Types::TRect &Rect);
Draws a rectangle in the style used to indicate that the object inside the rectangle has focus.
Call DrawFocusRect for the perimeter of the image of a control when the control gets or loses input focus. Because DrawFocusRect uses an XOR function, calling it a second time while specifying the same rectangle removes the rectangle from the screen.
The rectangle this function draws cannot be scrolled. To scroll an area containing a rectangle drawn by DrawFocusRect, call DrawFocusRect to remove the rectangle from the screen, scroll the area, and then call DrawFocusRect to draw the rectangle in the new position.