Difference between revisions of "CalendarView.DisplayDate"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
Line 14: Line 14:
 
==Notes==
 
==Notes==
 
If you assign a date using
 
If you assign a date using
<source>
+
<source lang="realbasic">
 
me.DisplayDate = aDate
 
me.DisplayDate = aDate
 
</source>
 
</source>
 
There is no need to refresh the CalendarView to show the selected date.
 
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:
 
However if you alter DisplayDate without assigning it a value, the CalendarView needs to be refreshed:

Revision as of 12:28, 11 June 2013

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

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: