Sign in Join
FPDoc Onlineexperiment

TCustomListView.Repaint procedure

Member of TCustomListViewpublicIn unit ComCtrls

Immediately redraws the control.

Declaration

pascal
procedure Repaint; override

Description

Repaint is an overridden method in TCustomListView. It ensures that the data index for a list item is reset to -1 when the control is using OwnerDraw (or virtual) mode. Repaint calls the inherited method to request a repaint in the widgetset class instance when its handle has been allocated.

Repaint is used to implement the Refresh method for the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.