[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.InvalidateClientRectCache

The ClientRect is cached. Call this procedure to invalidate the cache, so that next time the ClientRect is fetched from the widget.

Declaration

Source position: controls.pp line 2218

public procedure TWinControl.InvalidateClientRectCache(

  WithChildControls: Boolean

);

Arguments

WithChildControls

  

Also invalidate all child controls, if True.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.