<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#F0F3FA, #86F1E6]">
<mx:Script>
<![CDATA[
import flash.events.MouseEvent;
import mx.controls.Alert;
public function btClick(evt:MouseEvent):void
{
if (lg.selectedValue == "zh")
{
Alert.yesLabel = "是";
Alert.noLabel = "否";
Alert.cancelLabel = "取消";
Alert.show("警告信息!","标题",1|2|8,this);
}else{
Alert.yesLabel = "yes";
Alert.noLabel = "no";
Alert.cancelLabel = "cancel";
Alert.show("alert message here!","title",1|2|8,this);
}
}
]]>
</mx:Script>
<mx:ApplicationControlBar dock="true" fillAlphas="[1.0, 1.0]" fillColors="[#C7E3F3, #BFE7FA]">
<mx:RadioButtonGroup id="lg" />
<mx:RadioButton id="en" label="English" groupName="lg" value="en" selected="true" />
<mx:RadioButton id="zh" label="中文" groupName="lg" value="zh" />
</mx:ApplicationControlBar>
<mx:Button label="show alert" click="{btClick(event)}" />
<mx:DateField yearNavigationEnabled="true"
dayNames="['日','一','二','三','四','五','六']"
monthNames="['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月']"
formatString="YYYY-MM-DD" fontSize="12"/>
</mx:Application>
相关推荐
2.可以根据DateField的formatString属性判断DateChooser中是否要展示时分秒等. 3.DateField跟DateChooser之间比较完善的互传数据. 4.DateChooser带确定按钮,提高用户的体验. 5.时分秒选择框可以循环展示数字.
自定义dateField 自定义dateChoose 默认中文显示 支持时分秒选择
felx DateField 控件 完美支持时分秒选择,包含源代码,可以根据需要进行修改。版本为flex4.0。
自定义dateField 自定义dateChoose 默认中文显示 支持时分秒选择
提供 :Flex4中DateChooser和DateField 控件的使用实例。
NULL 博文链接:https://tongqiuyan.iteye.com/blog/1208153
自定义flex DateField控件可选择时间,有源码。
NULL 博文链接:https://luhantu.iteye.com/blog/1910595
关于Exjts2.2.1中datefield控件在IE8下显示不全BUG解决如下
flex自带的日期控件是没有时间选择的,本控件集成了时间的选择,另外时间的选择实现了可手动输入,输入的值可以定位下拉列表框. 导入方便,引用方便,提供多种输出格式. 经过测试完全OK,并且该控件已经应用于我们公司的...
Flex-时间控件,带年月日时分秒,本人一直用的一个控件,一个无BUG的好东西哦
支持flex的DateField组件日期多选,帮助我们更好的开发。
考虑到extjs DateField的关键配置和主要操作
extjs中 google 不兼容 datefield 控件
flex 对时间的关注 <![CDATA[ // Event handler for the DateField change event. private function dateChanged(date:Date):void { if (date == null) selection.text = "Date selected: "; else ...
Button、CheckBox、ColorPicker、DataGrid、DateField、HSlider、HorizontalList、Image、LinkButton Label、List MumericStepper、PopUpButton、ProgressBar、RadioButton、RichTextEditor、Text、TextArea、...
包括 年月日 年月日时 年月日时分的DateField封装
NULL 博文链接:https://zhaolianyang.iteye.com/blog/852544
Ext扩展dateField时间控件,可以选择年月日、年月、年、月