Difference between revisions of "CalendarView.WeekHeaderTextFormat"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
Line 15: Line 15:
 
If a character needs to be escaped, a backslash "\" can be used.
 
If a character needs to be escaped, a backslash "\" can be used.
 
==Examples==
 
==Examples==
<source>
+
<rbcode>
 
//Tuesday 08, February
 
//Tuesday 08, February
 
me.WeekHeaderTextFormat = "l d, F"
 
me.WeekHeaderTextFormat = "l d, F"
 
//Feb. 8
 
//Feb. 8
 
me.WeekHeaderTextFormat = "M. j"
 
me.WeekHeaderTextFormat = "M. j"
</source>
+
</rbcode>

Revision as of 16:43, 2 May 2012

Property (As String)
aCalendarView.WeekHeaderTextFormat = newValue
or
StringValue = aCalendarView.WeekHeaderTextFormat


Date format to display over each day in Week and Day view. This string property takes the same format parameters as the PHP Date function: http://php.net/manual/en/function.date.php If a character needs to be escaped, a backslash "\" can be used.

Examples

<rbcode> //Tuesday 08, February me.WeekHeaderTextFormat = "l d, F" //Feb. 8 me.WeekHeaderTextFormat = "M. j" </rbcode>