CalendarView.DisplayDate

From Jeremie Leroy - XOJO Controls Wiki
Revision as of 01:47, 3 May 2012 by RB WikiCreator (Talk)

Jump to: navigation, search
Property (As Date)
aCalendarView.DisplayDate = newValue
or
DateValue = aCalendarView.DisplayDate


The currently displayed Date. Change the DisplayDate to change the current view.

Notes

If you assign a date using

Invalid language.

You need to specify a language like this: <source lang="html4strict">...</source>

Supported languages for syntax highlighting:

[Expand]


me.DisplayDate = aDate

There is no need to refresh the CalendarView to show the selected date. However if you alter DisplayDate without assigning it a value, the CalendarView needs to be refreshed:

Invalid language.

You need to specify a language like this: <source lang="html4strict">...</source>

Supported languages for syntax highlighting:

[Expand]


//Change the month to December
me.DisplayDate.Month = 12
me.[[CalendarView.Redisplay|Redisplay]]() //This refreshes the CalendarView