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

TCustomGrid.VisualChange

Updates the grid after changes to the visual properties in the control.

Declaration

Source position: grids.pas line 1211

protected procedure TCustomGrid.VisualChange; virtual;

Description

VisualChange is a procedure used to update the grid when visual aspects of the control have been changed. VisualChange calls UpdateSizes to refresh the size of cells in the grid, and calls Invalidate to cause the control to be redrawn.

No actions are performed in the method when BeginUpdate has already been called to buffer updates to the grid. VisualChange will resume updates when EndUpdate has been called to disable update buffering.

See also

TCustomGrid.Invalidate

  

Performs a request to redraw the control.

TCustomGrid.BeginUpdate

  

Begins an update to the grid control.

TCustomGrid.EndUpdate

  

Finishes an active update to the grid control.


Version 3.2 Generated 2024-02-25 Home