Immediately redraws the control when visible, bypassing the message queue.
Source position: controls.pp line 1652
public procedure TControl.Repaint; virtual; |
Repaint is a method called redraw the control when it is visible. No actions are performed in the method when:
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.
|
The control within which the control is shown. |
|
|
Gets the effective visibility for the control and all of its Parent controls. |
|
|
Contains style flags which control the features or behaviors enabled for the control. |
|
|
Causes a delayed Repaint of the control by marking its visible area of the control as invalid. |
|
|
Redraws invalidated parts of the control immediately. |
|
|
Paints all child controls which do not have a Handle as part of their Parent. |
|
TComponent.ComponentState |
CT Web help |
CodeTyphon Studio |