Flex: Is there anyway to disable the textbox in the NumericStepper and force the user to only change the value using the up / down buttons?
Probably not much to elaborate on here - I am using a NumericStepper control and I want the user to only use buttons to change the value in NS, not by typing into the control - I couldn't find the disable text property - does it exist it?
If it doesn't, how would I subclass this thing to disable the text?
In general, if you are using mx_internal, there is a decent chance your application will break between flex versions.
Ok - I think I have - no property you can set, but you can subclass the control and set:
mx_internal::inputField.enabled = false;
While this asks the next question about what the mx_internal hell is ...
mx_internal is a namespace. There's a good explanation of how it all works here:
http://nondocs.blogspot.com/2007/04/mxcoremxinternal.html
If you are using the NumericStepper spark, your best bet is to create a custom skin and hide the TextInput part (its the required skin part so that it is somewhere in the skin).
text The input has an "editable" property that can be set to false. This worked for me.