Month (C): Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[file:Month.jpg]]
[[file:Month.jpg]]


'''Description'''
== 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'''
== Properties ==


Standard [[properties and methods|properties]] are supported, plus:
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'''
== Events ==


Standard [[events]] are supported.
Standard [[events]] are supported.


'''Example'''
== Example ==


<pre>
<pre>
</pre>
</pre>


'''Output'''
== Output ==


<pre>
<pre>
Line 34: Line 32:
</pre>
</pre>


'''Related Items'''
== Related Items ==
 
[[date|Date]], [[datetime|DateTime]], [[time|Time]]
 
[[Category:Language Reference]]
 
[[Category:Controls]]


[[date|DATE]], [[datetime|DATETIME]], [[time|TIME]]
[[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”)

Related Items

Date, DateTime, Time