[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 the next ClientRect value is fetched from the widget set class.

Declaration

Source position: controls.pp line 2311

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.