Aug 18

接下来的例子演示了Flex中如何通过backgroundDisabledColor样式,设置无效状态下TextArea控件背景颜色。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , , ,

Aug 08

接下来的例子演示了Flex中如何控制TabBar控件特定Tab的状态为有效或者无效。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , ,

Jul 16

接下来的例子演示了Flex中如何通过selectionDisabledColor样式,设置ComboBox中选中项目无效时背景颜色。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , , , ,

Jul 01

接下来的例子演示了Flex中如何利用Validators.validateAll()事件,验证一个表单的项目。试着在下面的Demo中输入一些东西。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , , , , ,

Jun 26

在前面的Flex中如何通过enabled属性在RadioButtonGroup中将所有的RadioButton设置为有效或无效状态的例子中,我们了解了Flex中如何通过设置enabled属性,在RadioButtonGroup中将所有的RadioButton设置为有效或无效状态。接下来的例子则演示了Flex中如何利用enabledChanged事件,检测RadioButtonGroup控件是被设置为有效还是无效。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , , ,

Jun 21

接下来的例子演示了Flex中如何通过设置enabled属性,在RadioButtonGroup中将所有的RadioButton设置为有效或无效状态。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):

Continue reading »

written by Minidxer  |  tags: , ,

May 26

在前面的Flex中如何通过downArrowSkin和upArrowSkin样式设置NumericStepper控件的上下箭头Skin的例子中,我们曾经演示过Flex中如何通过downArrowSkinupArrowSkin样式,设置NumericStepper控件的上下箭头的Skin。实际上NumericStepper控件还允许我们直接通过disabledIconColor样式设置NumericStepper控件图标(icon)无效时的颜色。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码

Continue reading »

written by Minidxer  |  tags: , , , ,

May 26

在前面的Flex中如何设置TextArea控件中的无效(disabled)文本颜色的例子中,我们了解了Flex中如何通过设定TextArea控件的colordisabledColor样式,设定文本在有效,无效状态下的颜色同样的,接下来的例子演示了FlexNumericStepper控件中,如何通过disabledColor样式设置NumericStepper控件无效时文本颜色。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码

Continue reading »

written by Minidxer  |  tags: , , ,

Apr 27

接下来的例子演示了Flex中如何通过设定TextArea控件的color和disabledColor样式,设定文本在有效,无效状态下的颜色。

让我们先来看一下Demo(可以右键View Source或点击这里察看源代码

Continue reading »

written by Minidxer  |  tags: , , , , , ,