JVCL Help:TJvTFDrawDWTitleEvent

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

Search in JVCL Help

 
Search in all projects
 

Summary

Event used to retrieve week titles.

run\JvTFManager.pas


Pascal

 run\JvTFManager.pas
 TJvTFDrawDWTitleEvent = procedure (Sender: TObject; aCanvas: TCanvas; ARect: TRect; DOW: TTFDayOfWeek; DWName: string) ofobject;


Parameters

Parameters Description
Sender The object that called the event.
aCanvas The canvas to draw on.
ARect The area to draw in.
DOW The day of the week.
DWName Name of the week day.

run\JvTFManager.pas


Description

Used for an OnDrawDWTitle event, which is fired when day of week title is being drawn. aCanvas provides a canvas for custom drawing. aRect specifies the bounding rect of the DW title. DOW specifies for which day of the week the title is being drawn for. DWName specifies the name of the day of the week that will be drawn in the title. JTF buffers all drawing to eliminate flicker. Because of the buffering, you MUST use the canvas provided by aCanvas for any custom drawing.

run\JvTFManager.pas


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