电脑桌面
添加蚂蚁七词文库到电脑桌面
安装后可以在桌面快捷访问

EAS Bos MsgBox使用大全

来源:金蝶云社区作者:金蝶2024-09-168

EAS Bos MsgBox使用大全

常用的信息提示、信息确认框

1.showInfo(String info)           
showInfo("showInfo方式提示信息");
2.showInfo(Component comp, String info)
showInfo(this,"showInfo方式提示信息");
3.showWarning(String warning)
4.showWarning(Component comp, String warning)           
showWarning(this,"showWarning方式提示信息");
5.showError(Component comp, String error)
showError(this,"showError错误提示");
6.showError(String error, String errorDetail)
注: errorDetail好像是没有用到,即使有传值,在提示框中也没有反应
com.kingdee.eas.util.client.MsgBox.showError("系统功能发生严重错误 ","");
7.showError(Component comp, String error, String errorDetail)
com.kingdee.eas.util.client.MsgBox.showError("系统功能发生严重错误 ","");
8.showDetailAndOK(Component comp, String error, String errorDetail, int msgType)
注:参数msgType好像没有用到,可以传任意值
com.kingdee.eas.util.client.MsgBox.showDetailAndOK(this,"错误/信息","错误或信息明细",0);
9.int showConfirm2(Component comp, String msg)
注:点[确认]返回:0
        点[取消]返回:2
sample:
com.kingdee.eas.util.client.MsgBox.showConfirm2(this,"确定.... ");
10.int showConfirm2(String msg)
11.int showConfirm2New(Component comp, String msg)
sample:
注:点[是]返回:0
        点[否]返回:1
com.kingdee.eas.util.client.MsgBox.showConfirm2New(this,"确认新增?");
12. int showConfirm3(Component comp, String msg)
注:[是]返回:0
      [否]返回:1
      

EAS Bos MsgBox使用大全

常用的信息提示、信息确认框1.showInfo(String info) showInfo("showInfo方式提示信息");2.showInfo(Component comp, Stri...
点击下载文档文档为doc格式

声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

已经是第一篇
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息
QQ群
  • 答案:my7c点击这里加入QQ群
支持邮箱
微信
  • 微信