Logged out, click to login

JEDI Online help - Details



Back to unit JvDataProviderIntf.pas Back Edit Search Administration

IJvDataItemRenderer.Draw

Summary
Draw an item.

Parameters
ACanvas - Canvas to render to. On entry to this method it is assumed the canvas brush, pen and font are initialized to the proper values.
ARect - Rectangle in which to draw the item in. On entry it is assumed to be initialized properly (including any indentation for sub items). On exit this will be set to the textual part of
the item.
State - Draw states to consider during drawing. This might be needed to determine which image list and/or image index to use.

Description
Draw renders the associated item.<br> <br> The caller is responsible for initializing the canvas to the brush, pen and font color and providing an appropriate rectangle (including any indentation for sub items).<br>

See Also
IJvDataItemRenderer.Measure, IJvDataItemsRenderer.DrawItem

Last changed by obones on 2009-01-04 21:13:58 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library