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
TPSCCalendMeasureItemEvent

TPSCCalendMeasureItemEvent

Events of TPSCCalendMeasureItemEvent type occur when the calendar needs in remeasuring of its elements.

type TPSCCalendMeasureItemEvent = procedure(Sender: TObject; AArea: TPSCCalendarHitTest; Var AWidth, AHeight: Integer) of object;

Unit
psc_calendar

Description
Events of TPSCCalendMeasureItemEvent type are used for the custom measuring of different elements of the calendar. Calendar determines the calendar control. Area determines measuring element. Area can take following values:

ChtDay - In this case user can specify width and height of the day rectangle.
chtWeekLeft,chtWeekRight - In this case user can specify width of weeks sides of
the month pages.
chtMonthHead - In this case user can specify height of the month header.
chtWeekDays - In this case user can specify height of the week header.
The Height and Width specify the height and width in pixels that the given element will occupy in the calendar. When event is called the Height and Width contain default height and width of the element. The event handler can set Height and Width to a value appropriate to the contents of the element.

See also:
TPSCCalendar, TPSCCustomCalendar.OnMeasureItem


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