Jun 26

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

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

Continue reading »

written by Minidxer  |  tags: , , ,

Jun 24

接下来的例子演示了Flex中如何通过扩展RadioButton类和重载protected keyDownHandler事件,使RadioButton/RadioButtonGroup的键盘导航无效。

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

Continue reading »

written by Minidxer  |  tags: , , ,

Jun 22

接下来的例子演示了Flex中如何通过监听itemClick事件,检测FlexRadioButtonGroup中RadioButton被点击。

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

Continue reading »

written by Minidxer  |  tags: , ,

Jun 21

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

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

Continue reading »

written by Minidxer  |  tags: , ,

Jun 21

接下来的例子演示了Flex中如何通过设置labelPlacement属性,设置RadioButton控件文本标签排列位置。

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

Continue reading »

written by Minidxer  |  tags: , ,

May 29

接下来的例子演示了Flex中如何Repeater作为一个数据提供源,用来显示一组RadioButton控件。

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

Continue reading »

written by Minidxer  |  tags: , , , , ,