Month (C): Difference between revisions
Jump to navigation
Jump to search
Created page with "file:Month.jpg '''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 ..." |
|||
(6 intermediate revisions by 2 users not shown) | |||
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 are supported | Standard [[properties and methods|properties]] are supported, plus: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| value || The date value of the control. | | value || The date value of the control. To set the value, use format 2012-01 | ||
To set the value, use format 2012-01 | |||
|} | |} | ||
== Events == | |||
Standard [[events]] are supported. | |||
== Example == | |||
<pre> | <pre> | ||
</pre> | </pre> | ||
== Output == | |||
<pre> | <pre> | ||
Line 35: | Line 32: | ||
</pre> | </pre> | ||
== Related Items == | |||
[[date|Date]], [[datetime|DateTime]], [[time|Time]] | |||
[[Category:Language Reference]] | |||
[[Category:Controls]] | |||
[[ | [[Category:General]] |
Latest revision as of 19:31, 28 February 2013
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”)