CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
TPSCCalendDrawItemEvent

TPSCCalendDrawItemEvent

Events of TPSCCalendDrawItemEvent type occur when an element of the calendar should be drawn.

type TPSCCalendDrawItemEvent = procedure(Sender: TObject; Const ADate: TDateTime; AArea: TPSCCalendarHitTest; ADateType: TPSCCalendarDateType; ALeft, ATop, ARight, ABottom: Integer; Var ADefaultDrawing: WordBool) of object;

Unit
psc_calendar

Description
Events of TPSCCalendDrawItemEvent type are used to customise drawing of different elements in the calendar. Calendar determines a calendar control. ADate determines date related with drawing element. The element of the calendar, which is drawn, is determined by Area parameter. DateType determines state of the element. Rect determines rectangle where user has to draw. When user wants to draw element by self he should set DefaultDrawing to False. Default value of the DefaultDrawing is True. The following table defines and describes briefly different areas of the calendar and possible values of DateType for these areas:
Value - Area - DateType values
chtLeftArrow - Left arrow - cdtNormal
chtRightArrow - Right arrow - cdtNormal
chtMonthHead - Header of the month page - cdtNormal
chtWeekDays - Week header - cdtNormal
chtWeekLeft - Left side of the month page - cdtWeek, cdtHidden,cdtSelectedWeek
chtWeekRight - Right side of the month page - cdtWeek, cdtHidden, cdtSelectedWeek
chtDay - Day of month - cdtNormal, cdtSelected
chtLeftGray - Day of previous month - cdtGray, cdtSelected
chtRightGray - Day of next month - cdtGray, cdtSelected
chtHidden - Hidden day - cdtHidden

See also:
TPSCCalendar, TPSCCustomCalendar.OnDrawItem


Generated by Putersoft.FreeHelp. Copyright © 1999-2002. puterSoft.Com
You are reading help file online using chmlib.com


If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com