软硬度:反正有禁用NumericStepper中的文本框,并强制用户只使用上/下按钮来改变价值?软硬、文本框、按钮、价值

2023-09-08 15:37:30 作者:纸短情长

大概没有更多的阐述在这里 - 我使用NumericStepper控件,我希望用户使用按钮只改变数值的NS,而不是输入到控制 - 我无法找到一个属性来禁用文本 - 它存在吗?

Probably not much more to elaborate on here - I'm using a NumericStepper control and I want the user to use the buttons only to change the value in the NS, not by typing into the control - I couldn't find a property to disable the text - does it exist?

如果没有,我将如何继承这个东西禁用文字?

If it doesn't, how would I subclass this thing to disable the text?

推荐答案

在一般情况下,如果你使用mx_internal,有一个像样的机会,你的应用程序将柔性版本之间的断裂。

In general, if you're using mx_internal, there's a decent chance that your app will break between flex versions.