加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

flex 弹出框Alert

发布时间:2020-12-15 04:09:40 所属栏目:百科 来源:网络整理
导读:Alert.show("Are you sure you want tonperform that action?","Confirmation",Alert.YES|Alert.NO, this ,confirmHandler,confirmIcon,Alert.NO); //第一个参数是要显示的文本,第二个参数是窗口的标题,第三个参数是按纽,第四个参数是父窗体,第五个参数
Alert.show("Are you sure you want tonperform that action?","Confirmation",Alert.YES|Alert.NO, this ,confirmHandler,confirmIcon,Alert.NO);
//第一个参数是要显示的文本,第二个参数是窗口的标题,第三个参数是按纽,第四个参数是父窗体,第五个参数是关闭后要执行的动作函数,第六个参数是图标,第七个参数是默认的按纽

举例:

?
Alert.show("确认要删除吗?""删除提示"nullfunction(event:CloseEvent):void
???? { if (event.detail==Alert.YES)
{webService.DeleteJl(jlh);}
???? else? (event.detail==Alert.NO)
{}
return ;
},monospace!important; min-height:inherit!important">.expClass,Alert.NO);

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读