JVCL Help:TJvComboListBox.OnDrawImage

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 image is about to be drawn in the list.


Pascal

 TJvComboListDrawImageEvent = procedure (Sender: TObject; Index: Integer; const APicture: TPicture; R: TRect; var DefaultDraw: Boolean) ofobject;
propertyOnDrawImage: TJvComboListDrawImageEvent;


Parameters

Parameters Description
R The TRect of where the image is to be drawn.
DefaultDraw Set this to false to prevent the component to draw the image.
APicture The image that is about to be drawn
Sender The component that called the event.
Index The index of the item in the Items list.


Description

Write a handler for this event when you want to take specific actions when an image is about to be drawn.


See Also

TJvComboListBox.OnDrawText


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