JVCL Help:TJvViewerAdvancedItemDrawEvent

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Event type for advanced item drawing.

run\JvCustomItemViewer.pas


Pascal

 run\JvCustomItemViewer.pas
 TJvViewerAdvancedItemDrawEvent = procedure (Sender: TObject; Stage: TJvViewerDrawStage; Index: Integer; State: TCustomDrawState; Canvas: TCanvas; ItemRect, TextRect: TRect; var DefaultDraw: Boolean) ofobject;


Parameters

Parameters Description
Sender The control that triggered the event.
Stage The current draw stage.
Index Index of the item to draw.
State The items state.
Canvas The canvas to draw on. You can modify the properties of canvas (like Color and Font) to affect the default drawing.
ItemRect The rect area of the item excluding the text area.
TextRect The text area of the control.
DefaultDraw Set this to true to have the control perform default drawing.

run\JvCustomItemViewer.pas


Description

Not used at the moment.

run\JvCustomItemViewer.pas


See Also

TJvViewerAdvancedDrawEvent

run\JvCustomItemViewer.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page