Month (C): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[file:Month.jpg]] | [[file:Month.jpg]] | ||
== Description == | |||
The Month control allows the input of a month. The result is returned as a string in value. | The Month control allows the input of a month. The result is returned as a string in value. | ||
Line 9: | Line 9: | ||
It is supported starting with iOS 5. It is not supported on Android at this time. | It is supported starting with iOS 5. It is not supported on Android at this time. | ||
== Properties == | |||
Standard [[properties and methods|properties]] are supported, plus: | Standard [[properties and methods|properties]] are supported, plus: | ||
Line 19: | Line 19: | ||
|} | |} | ||
== Events == | |||
Standard [[events]] are supported. | Standard [[events]] are supported. | ||
== Example == | |||
<pre> | <pre> | ||
</pre> | </pre> | ||
== Output == | |||
<pre> | <pre> | ||
Line 34: | Line 34: | ||
</pre> | </pre> | ||
== Related Items == | |||
[[date| | [[date|Date]], [[datetime|DateTime]], [[time|Time]] | ||
[[Category:Language Reference]] |
Revision as of 16:46, 17 August 2012
Description
The Month control allows the input of a month. The result is returned as a string in value.
When the control is selected at runtime, a special month picker is displayed.
It is supported starting with iOS 5. It is not supported on Android at this time.
Properties
Standard properties are supported, plus:
value | The date value of the control.
To set the value, use format 2012-01 |
Events
Standard events are supported.
Example
Output
(value is set to “2011-11”)