[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Requests a repaint of the control.
Source position: controls.pp line 1515
protected procedure TControl.InvalidateControl( |
CtrlIsVisible: Boolean; |
CtrlIsOpaque: Boolean |
); |
CtrlIsVisible: Boolean; |
CtrlIsOpaque: Boolean; |
IgnoreWinControls: Boolean |
); |
CtrlIsVisible |
|
True if the control is visible. |
CtrlIsOpaque |
|
True if the control use an opaque drawing style. |
CtrlIsVisible |
|
True if the control is visible. |
CtrlIsOpaque |
|
True if the control use an opaque drawing style. |
IgnoreWinControls |
|
True if TWinControl descendants are ignored in the method. |
InvalidateControl is an overloaded method used to redraw the bounds rectangle for control. No actions are performed in the method if the Parent control or its Handle are not assigned, during LCL component streaming, or when the control is being freed.
When CtrlIsVisible is set to True or the control has a visible design surface, the InvalidateRect routine is called. The BoundsRect for the control is erased and redrawn when the control uses an opaque drawing style, or when it occludes a sibling control in its Parent.
InvalidateControl is called from methods like Invalidate and ChangeBounds, and when a new value is assigned to the Visible property.
|
Causes a delayed Repaint of the control by marking its visible area of the control as invalid. |
|
|
Sets the bounds (left, top, height, width) and optionally the BaseBounds of the control. |
|
|
Allows the control, and all of its children, to be displayed or hidden. |
|
|
Notifies all chtOnVisibleChanged handlers for the control. |
|
|
Handles a CM_VISIBLECHANGED message for the control. |
Version 3.2 | Generated 2024-02-25 | Home |