The following screen shot shows a FaceCalendar assigned to a face:
The following table shows how you can get a FaceCalendar object ( the red items indicates properties )
EXTREECUBELib.Face "CreateCalendar" -> EXTREECUBELib.FaceCalendar "FaceCalendar" -> EXTREECUBELib.FaceCalendar
The following table shows how you can get a FaceCalendar object ( the red items indicates properties )
EXTREECUBELib.FaceCalendar <- "CreateCalendar" of EXTREECUBELib.Face EXTREECUBELib.FaceCalendar <- "FaceCalendar" of EXTREECUBELib.Face
The FaceCalendar object supports the following properties and methods:
Name | Description | |||
AutoSize | Specifies the way the calendar fits the face. | |||
Date | Retrieves or sets the browsed date. Ensures that the date is visible. | |||
DateFromPoint | Retrieves the date from point. | |||
DisplayWeekNumberAs | Specifies the way the calendar displays the week number. | |||
DrawGridLines | Retrieves or sets a value that indicates whether the grid lines are visible or hidden. | |||
Face | Retrieves the face that owns the content object. | |||
FirstWeekDay | Specifies the first day of the week. | |||
ForeColor | Specifies the calendar's foreground color. | |||
GridLineColor | Retrieves or sets a value that indicates the color to show the grid lines. | |||
Index | Indicates the index of the face. | |||
LocFirstWeekDay | Indicates the first day of the week, as specified in the regional settings. | |||
LocMonthNames | Retrieves the list of month names, as indicated in the regional settings, separated by space. | |||
LocWeekDays | Retrieves the list of names for each week day, as indicated in the regional settings, separated by space. | |||
MaxDate | Retrieves or sets the max date. | |||
MaxMonthX | Specifies the maximum number of months horizontally displayed. | |||
MaxMonthY | Specifies the maximum number of months vertically displayed. | |||
MinDate | Retrieves or sets the min date. | |||
MinMonthX | Specifies the minimum number of months horizontally displayed. | |||
MinMonthY | Specifies the minimum number of months vertically displayed. | |||
MonthNames | Retrieves or sets a value that indicates the list of month names, separated by space. | |||
Move | Moves the calendar back/forward one year/month. | |||
NextMonth | Moves the calendar forward one month. | |||
NextYear | Moves the calendar forward one year. | |||
NonworkingDays | Retrieves or sets a value that indicates the non-working days, for each week day a bit. | |||
NonworkingDaysForeColor | Retrieves or sets a value that indicates the foreground color for non-working days. | |||
PrevMonth | Moves the calendar back one month. | |||
PrevYear | Moves the calendar back one year. | |||
Refresh | Refreses the face's content. | |||
SelBackColor | Retrieves or sets a value that indicates the selection background color. | |||
SelDate | Selects the giving date. | |||
SelForeColor | Retrieves or sets a value that indicates the selection foreground color. | |||
ShowMonthSelector | Specifies whether the left/right arrows to select the previously/next month are visible or hidden in the header of the calendar's month. | |||
ShowNonMonthDays | Specifies whether the control displays the dates that are not part of the month. | |||
ShowTodayButton | Retrieves or sets a value that indicates whether the today button is visible or hidden, in the calendar. | |||
ShowWeeks | Retrieves or sets a value that indicates whether the weeks header is visible or hidden. | |||
TodayCaption | Retrieves or sets a value that indicates the today button's caption, in the calendar. | |||
UnselectDate | Unselects any date in the calendar. | |||
Value | Selects the date. | |||
ValueFromPoint | Retrieves the value/date from point. | |||
WeekDays | Retrieves or sets a value that indicates the list of names for each week day, separated by space. | |||
Year | Retrieves or sets the browsed year. Ensures that the date is visible. |