Tag Archives: editable

Creating a non-editable Spark NumericStepper control in Flex 4

The following example show how you can create a non-editable Spark NumericStepper control in Flex 4 by setting the Boolean editable property on the NumericStepper control’s textDisplay skin part. The user can still change the NumericStepper control’s current value using the Stepper control, but they can no longer type into the NumericStepper control’s internal TextInput control.

Continue reading Creating a non-editable Spark NumericStepper control in Flex 4

Creating a non-editable NumericStepper control in Flex

The following example shows how you can create a non-editable Flex NumericStepper control (users cannot type numbers directly into the control, but can still use the up arrow, down arrow, and keyboard to change the value) by setting the editable property on the nested inputField TextInput control.

Full code after the jump.

Continue reading Creating a non-editable NumericStepper control in Flex