JVCL Help:TJvWizardRouteMapList.OnDrawItem

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when an item should be drawn.


Pascal

 TJvWizardDrawRouteMapListItem = procedure (Sender: TObject; ACanvas: TCanvas; ARect: TRect; MousePos: TPoint; PageIndex: Integer; var DefaultDraw: Boolean) ofobject;
propertyOnDrawItem: TJvWizardDrawRouteMapListItem;


Parameters

Parameters Description
MousePos The position of the mouse in client coordinates.
PageIndex The index of the active page.
DefaultDraw Set to true to perform default drawing, false otherwise.
Sender The control that triggered the event.
ACanvas The canvas to draw on.
ARect The rect area to draw in.


Description

Write a handler for this event to custom draw the items in the list. You can also use this event if you only need to change the attributes of the Canvas. For example, you can change the Canvas's Font, Brush and Pen properties to modify the colors and fonts used by the default drawing code.


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