[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Fills the display rectangle for the control with the color and pattern in Brush.
Source position: controls.pp line 2443
public procedure TWinControl.EraseBackground( |
DC: HDC |
); virtual; |
DC |
|
The device context to use; may be clipped to a certain shape. |
EraseBackground is called during Paint requests from the WMEraseBkgnd method, which provides a valid device context in the DC argument. No actions are performed in the method when DC contains 0 (unassigned).
The FillRect routine is called to perform the operation using the Width, Height, and the handle in the Brush property.
|
The Brush used to paint the background for the control. |
|
|
The vertical size for the control. |
|
|
The horizontal size for the control. |
Version 3.2 | Generated 2024-02-25 | Home |