JVCL Help:TJvOutlookBar.OnCustomDraw

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

Search in JVCL Help

 
Search in all projects
 

Summary

Event handler for custom drawing


Pascal

 propertyOnCustomDraw: TJvOutlookBarCustomDrawEvent;


Parameters

Parameters Description
Sender The TJvOutlookBar that triggered the event.
ACanvas The Canvas to draw on
ARect The area to draw in.
AStage The current draw stage.
AIndex Depends on the stage. If AStage is odsPage or odsPageButton, AIndex refers to the page index. If AStage is odsButton or odsButtonFrame, AIndex refers to the button's index on the active page.
ADown Depends on the stage. For pages, indicates whether the page button is pressed, For buttons, indicates whether the button is down.
AInside Only used with button stages. Specifies whether the mouse is inside the button.
DefaultDraw Set to true (the default) if you want the control to perform it's default drawing.


Description

Write a handler for this event if you want to custom draw the outlook bar. You can selectively draw only the parts you are interested in and let the control handle the drawing of other elements.


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