JVCL Help:TJvCustomMonthCalendar.CreateWithAppearance

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

Search in JVCL Help

 
Search in all projects
 

Summary

Create and instantiates a month calender with the specified appearance.


Pascal

 constructorCreateWithAppearance(AOwner: TComponent; constAAppearance: TJvMonthCalAppearance; constAOwnsAppearance: Boolean = False);


Parameters

Parameters Description
AOwner: TComponent The owner component of the calendar.
const AAppearance: TJvMonthCalAppearance The appearance instance. This instance will determine how the calendar will be shown.
const AOwnsAppearance: Boolean = False Determines if the passed appearance instance is owned by the calendar control. If set to True, the passes instance will be owned by the calendar (and subsequently freed when the calendar is destroyed). If set to False the caller is responsible of the instance. WARNING: The passed instance should not be freed before the calendar is disposed.


Description

CreateWithAppearance will create a month calendar with a given appearance instance. The normal Create constructor will call this method with a new appearance instance and sets the AOwnsAppearance parameter to True.
Other controls that use this calendar as drop down or popup call this constructor to specify the appearance.


See Also

TJvMonthCalAppearance


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