Time (C)

From NSB App Studio
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

The Time control allows the input of a time. 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.

To add a control to your app, choose the control’s icon in the Toolbar, then position it on the Design Screen. Use the Property Editor to set the properties you need, then add functions to your code to respond to the events that come from the control: usually, just onclick.

Properties

Standard properties are supported, plus:

value The time value of the control.

To set the time, use format 09:14 PM.

Events

Standard events are supported,

Example


Output

(value is set to “2:09 PM”)

Related Items

Date, DateTime, Month