MonthCalendar control
A MonthCalendar control provides a calendar-like user
interface that makes it easy for users to enter or select dates.
Properties
MonthCalendar property |
Datatype |
Description |
---|---|---|
Integer |
Specifies the ASCII value of the key |
|
String |
A description of the control and/or |
|
String |
A label that briefly describes the control, |
|
AccessibleRole (enumerated) |
Describes what kind of user interface |
|
Boolean |
Specifies whether the calendar is sized automatically to
|
|
Long |
Specifies the numeric value of the background |
|
Boolean |
Specifies whether the control has a border.
|
|
BorderStyle (enumerated) |
Specifies the style of the border of
|
|
Boolean |
Specifies whether PowerBuilder moves
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Boolean |
Specifies whether PowerBuilder puts the
|
|
String |
Specifies the name of the stock icon When the user drags the control, the icon displays when the control |
|
Boolean |
Specifies whether the control is enabled
|
|
String |
Specifies the name of the typeface in This property does not work on the Microsoft Vista operating system. |
|
WeekDay (enumerated) |
Specifies which day of the week displays |
|
FontCharSet (enumerated) |
Specifies the font character set used |
|
FontFamily (enumerated) |
Specifies the font family (type style)
|
|
FontPitch (enumerated) |
Specifies the pitch (spacing) of the
|
|
Integer |
Specifies the height of the control, |
|
Boolean |
Specifies whether the text in the control
This property does not work on the Microsoft Vista operating system. |
|
Integer |
Specifies the maximum number of days |
|
Long |
Specifies the numeric value of the background This property does not work on the Microsoft Vista operating system. |
|
String |
Specifies the name of the stock pointer |
|
Boolean |
Specifies that characters should be displayed |
|
Integer |
Specifies the number of months the calendar |
|
Integer |
Specifies the tab value of the control |
|
String |
Specifies the tag value assigned to the |
|
Long |
Specifies the numeric value of the color This property does not work on the Microsoft Vista operating system. |
|
Integer |
Specifies the size of the text in the This property does not work on the Microsoft Vista operating system. |
|
Long |
Specifies the numeric value of the background This property does not work on the Microsoft Vista operating system. |
|
Long |
Specifies the numeric value of the color This property does not work on the Microsoft Vista operating system. |
|
Boolean |
Specifies whether the border of today’s
|
|
Boolean |
Specifies whether the label “Today:” followed
This property does not work correctly on the Microsoft Vista operating |
|
Long |
Specifies the numeric value of the color This property does not work on the Microsoft Vista operating system. |
|
Boolean |
Specifies whether text is underlined. This property does not work in MonthCalendar controls on the Microsoft |
|
Boolean |
Specifies whether the control is visible.
|
|
Boolean |
Specifies whether a number representing
|
|
Integer |
This property is not relevant in MonthCalendar |
|
Integer |
Specifies the width of the control, in |
|
Integer |
Specifies the X position (the distance |
|
Integer |
Specifies the Y position (the distance |
Events
MonthCalendar event |
Occurs |
---|---|
When the control is clicked (selected) |
|
Immediately before the Open event occurs |
|
Immediately after a date is selected |
|
Immediately after the Close event occurs |
|
When the control is clicked twice with |
|
When a dragged control is dropped on |
|
When a dragged control enters the control |
|
When a dragged control leaves the control |
|
When a dragged control is within the |
|
Just before the control receives focus |
|
When the user presses the F1 key or drags |
|
When the control loses focus (becomes |
|
When a Controls message occurs that is |
|
When the right mouse button is pressed |
Functions
MonthCalendar function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the control |
|
Integer |
Clears bold format of dates in calendar |
|
Integer |
Starts or ends the dragging of the control |
|
Integer |
Creates a reference to a context-specific |
|
Integer |
Retrieves the maximum and minimum date |
|
Integer |
Retrieves the date range of displayed |
|
PowerObject |
Returns a reference to the name of the |
|
Integer |
Retrieves the selected date |
|
Integer |
Retrieves the range of selected dates |
|
Date |
Returns the date that the calendar uses |
|
Integer |
Makes the control invisible |
|
Integer |
Moves the control to a specified location |
|
Integer |
Returns the distance of the pointer from |
|
Integer |
Returns the distance of the pointer from |
|
Boolean |
Adds the specified event to the end of |
|
Integer |
Prints the control |
|
Integer |
Changes the size of the control |
|
Integer |
Displays the specified date in bold |
|
Integer |
Sets the maximum and minimum date limits |
|
Integer |
Sets focus to the specified control |
|
Integer |
Specifies the position of the control |
|
Integer |
Controls automatic redrawing of the control |
|
Integer |
Selects a specified date |
|
Integer |
Sets the range of selected dates |
|
Integer |
Sets the value that is used by the calendar |
|
Integer |
Makes the control visible |
|
Integer |
Triggers a specified event in the control |
|
Object |
Returns the type of the control |