JVCL Help:TJvComboListBox.OnDrawText

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 a string is about to be drawn.


Pascal

 TJvComboListDrawTextEvent = procedure (Sender: TObject; Index: Integer; const AText: string; R: TRect; var DefaultDraw: Boolean) ofobject;
propertyOnDrawText: TJvComboListDrawTextEvent;


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 text.
AText The text to draw.
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 a string is about to be drawn.


See Also

TJvComboListBox.OnDrawImage


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