TWinControl.Repaint procedure
Immediately redraws the control when visible, bypassing the message queue.
Declaration
procedure Repaint; overrideDescription
Repaint is a method called redraw the control when it is visible. No actions are performed in the method when:
- Parent has not been assigned.
- Parent does not have a valid handle.
- ComponentState contains the value csDestroying.
- The effective visibility from IsVisible is False.
When the control is Parented, it is redrawn using the style indicated in ControlStyle. When csOpaque is included, a device context is retrieved and the PaintControl method is called for the clipping rectangle in the Parent control. When csOpaque is omitted, the Invalidate and Update methods are called to request the control to redrawn.
This description is the one of Controls.TControl.Repaint.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
