Difference between revisions of "CalendarView"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
(Syntax)
Line 11: Line 11:
 
This custom control based on a Canvas is similar to iCal on Mac OS and Google Calendar. }}
 
This custom control based on a Canvas is similar to iCal on Mac OS and Google Calendar. }}
  
<dynamicTable id="Constants" class="eventTable" title="Constants" columns="3">
+
{| class="eventTable"
{{Event | name=AlignLeft | description=Left alignment (0)}}
+
|-
{{Event | name=AlignCenter | description=Center alignment (1)}}
+
|class="titleClass" colspan="3"| Events
{{Event | name=AlignRight | description=Left alignment (2)}}
+
|-
</dynamicTable>
+
|width=33%| {{Event | name=DateSelected | params=Row as [[Integer]],  Column as [[Integer]] | description=CellAction(Row as Integer,  Column as Integer)&#x0D;If a cell is editable, a CellAction event occurs when the user finishes editing a cell }}
 +
|width=33%| [[String]]
 +
|width=33%| The end of line [[String]] for the platform being compiled.
 +
|}
  
  

Revision as of 01:58, 28 April 2012

Class (inherits from Canvas)


Displays a Calendar in several formats (Year, Month, Week, Day, ...) that presents CalendarEvents. This custom control based on a Canvas is similar to iCal on Mac OS and Google Calendar.

Events
DateSelected String The end of line String for the platform being compiled.


Example

The following example sets the text of the Label.

 Me.Text = "Hello World"


Syntax

result=EndOfLine

Properties
result String The end of line String for the platform being compiled.