小小菜鸟的web菜园子

web开发学习。好记性不如烂笔头。每天进步一点点!

导航

设置NumericStepper控件文本区的边框颜色。

NumericStepper控件的borderColor样式学习.
示例:

代码:
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2008/05/26/setting-the-border-color-on-a-numericstepper-control-in-flex/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout
="vertical"
        verticalAlign
="middle"
        backgroundColor
="white">

    
<mx:ApplicationControlBar dock="true">
        
<mx:Form styleName="plain">
            
<mx:FormItem label="borderColor:">
                
<mx:ColorPicker id="colorPicker" />
            
</mx:FormItem>
        
</mx:Form>
    
</mx:ApplicationControlBar>

    
<mx:NumericStepper id="numericStepper"
            borderColor
="{colorPicker.selectedColor}" />

</mx:Application>

posted on 2008-05-29 14:36  『小小菜鸟』  阅读(374)  评论(0编辑  收藏  举报