JVCL Help:TJvCustomImageButton.OnButtonDraw

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 the button needs to be drawn


Pascal

 TJvImgBtnDrawEvent = procedure (Sender: TObject; const DrawItemStruct: TDrawItemStruct) ofobject;
propertyOnButtonDraw: TJvImgBtnDrawEvent;


Parameters

Parameters Description
DrawItemStruct Holds information about the current state of the control
Sender The object that triggered the event


Description

Write a handler for this event to draw the button yourself. To activate this event, you must set OwnerDraw to true.


See Also

TJvCustomImageButton.OwnerDraw


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