Morfik Controls - Calendar

From Morfikwiki.com

Jump to: navigation, search
Figure 1 – A Calendar control.

The Calendar control provides a new way of displaying and selecting dates.

Contents


[edit] Usage

In Morfik AppsBuilder the Calendar control is used to display or select dates in situations where the more compact DateTimeEdit control would be inappropriate.

[edit] Properties

The following is a list of the properties of the Calendar control with a short description of their function.

[edit] BorderColor

The BorderColor property specifies the color that should be used for drawing a rectangular border around the Calendar. Note: the border will not be visible unless the BorderStyle and BorderWidth properties are also set.

[edit] BorderStyle

The BorderStyle property specifies the line style that should be used for drawing a rectangular border around the Calendar. Note: the border will not be visible unless the BorderColor and BorderWidth properties are also set.

[edit] BorderWidth

The BorderWidth property specifies the width of a rectangular border to be drawn around the Calendar. Note: the border will not be visible unless the BorderColor and BorderStyle properties are also set.

[edit] Color

The Color property determines the background color of dates in the Calendar control (however the selected date and dates outside current month are given different colors).

[edit] Cursor

The Cursor property, if set, causes the appearance of the mouse cursor to change as it moves over the control.

[edit] Font

The Font property (and its sub-properties Color and Name) is used to indicate which font should be used for drawing the text in the Calendar.

[edit] Hint

The Hint property, if set, specifies the text of a tooltip that is displayed when the end user moves the mouse cursor over the Calendar.

[edit] Left

The Left property specifies the horizontal position of the Calendar in the form.

[edit] Name

The Name property specifies the identifier used to reference the Calendar from browser- or server-side code.

[edit] Opacity

The Opacity property determines the extent to which the Calendar obscures any controls placed in its background. A value of 0 means that background controls are fully visible, whereas a value of 100 means that background controls are completely obscured.

[edit] Top

The Top property specifies the vertical position of the Calendar in the form.

[edit] Events

[edit] OnChange

The OnChange event occurs when the selected date in the Calendar control changes.

[edit] See also

Personal tools