MoSync 3.3
Number Picker

Defines

#define MAW_NUMBER_PICKER_VALUE   "value"
 Sets or gets the current value for the number picker. If the value is less than MAW_NUMBER_PICKER_MIN_VALUE property value, the current value is set to min. If the value is greater than MAW_NUMBER_PICKER_MAX_VALUE value, the current value is set to max.
#define MAW_NUMBER_PICKER_MIN_VALUE   "minValue"
 Sets or gets the min value of the picker.
#define MAW_NUMBER_PICKER_MAX_VALUE   "maxValue"
 Sets or gets the max value of the picker.

Detailed Description

The available widget properties for a MAW_NUMBER_PICKER. See Widget properties for more properties.


Define Documentation

#define MAW_NUMBER_PICKER_VALUE   "value"

Sets or gets the current value for the number picker. If the value is less than MAW_NUMBER_PICKER_MIN_VALUE property value, the current value is set to min. If the value is greater than MAW_NUMBER_PICKER_MAX_VALUE value, the current value is set to max.

Valid values
A valid int.
Operations
Set and get.
Example
        maWidgetSetProperty(numberPickerHandle, MAW_NUMBER_PICKER_VALUE, "50");
#define MAW_NUMBER_PICKER_MIN_VALUE   "minValue"

Sets or gets the min value of the picker.

Valid values
An int that specifies the minimum value.
Operations
Set and get.
Example
#define MAW_NUMBER_PICKER_MAX_VALUE   "maxValue"

Sets or gets the max value of the picker.

Valid values
An int that specifies the maximum value.
Operations
Set and get.
Example
        maWidgetSetProperty(numberPickerHandle, MAW_NUMBER_PICKER_MAX_VALUE, "100");
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines