软硬度:反正有禁用NumericStepper中的文本框,并强制用户只使用上/下按钮来改变价值? [英] Flex: Is there anyway to disable the textfield in the NumericStepper and force the user to change the value only by using the up/down buttons?

查看:279
本文介绍了软硬度:反正有禁用NumericStepper中的文本框,并强制用户只使用上/下按钮来改变价值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大概没有更多的阐述在这里 - 我使用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.

这篇关于软硬度:反正有禁用NumericStepper中的文本框,并强制用户只使用上/下按钮来改变价值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆