[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs custom drawing in the specified rectangle and returns True on success.
Source position: comctrls.pp line 1542
protected function TCustomListView.CustomDraw( |
const ARect: TRect; |
AStage: TCustomDrawStage |
):Boolean; virtual; |
ARect |
|
Bounds rectangle for the drawing operation. |
AStage |
|
Drawing stage for the control. Affects the OnCustomDraw event handler. |
True if default drawing should be performed in the list view control. False is default drawing was handled in an event handler and can be skipped by the control.
CustomDraw draws the list view control using the OnCustomDraw or OnAdvancedCustomDraw event handlers. OnCustomDraw is signalled (when assigned) if the drawing stage in AStage is cdPrePaint. OnAdvancedCustomDraw is signalled (when assigned).
The default return value is True, but may be modified in the event handlers if it is not able to render the control in the handler routine.
Use OnDrawItem and OnAdvancedCustomDrawItem to draw an individual list item on the control.
CustomDraw is called from the IntfCustomDraw method and occurs when the widgetset class instance redraws the LCL control.
|
Event handler signalled to perform custom drawing for the list view control. |
|
|
Event handler signalled to perform custom drawing for list items on the control. |
|
|
Event handler signalled to custom draw the grid control when the draw state is not cdPrePaint. |
|
|
Event handler signalled to custom draw a list item on the grid control when the draw state is not cdPrePaint. |
|
|
IntfCustomDraw - uses the interface to perform custom drawing |
Version 3.2 | Generated 2024-02-25 | Home |