EAS BOS MsgBox使用大全
来源:互联网 发布:mac html 编译器 编辑:程序博客网 时间:2024/06/10 17:32
EAS BOS开发程中,不管是调试还是系统逻辑提示,都会使用到信息提示、信息确认框,但在网上找不到比较全面的Messagebox使用说明;对于内部开发员来说,相当的不便,我用了一天的时间试了MsgBox的用法,由于没法上传图片,所以每个函数的结果就略了;如对其他人有帮助,那花时间整也是值得的,如需更详的情况发邮件给我EvensQiu@Gmail.com
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
[取消]返回:2
sample:
com.kingdee.eas.util.client.MsgBox.showConfirm3(this,"确认操作....?");
13. int showConfirm3(Component comp, String msg, String detail)
注:[是]返回:0
[否]返回:1
sample:
com.kingdee.eas.util.client.MsgBox.showConfirm3(this,"showConfirm3.....","操作说明.....");
14.showConfirm3a(Component comp, String msg, String detail)
注:[确认]返回:0
[取消]返回:2
sample:
com.kingdee.eas.util.client.MsgBox.showConfirm3a(this,"操作....","操作说明.....");
15.int showConfirm4a(Component comp, String msg, String detail)
返回 :[是] 0
[否] 1
[取消] 2
Sample:
com.kingdee.eas.util.client.MsgBox.showConfirm4a(this,"操作....","操作说明.....");
16. int showConnectionError()
17. int showConnectionError(String msg)
18. int showConnectionError(Component comp)
19. int showConnectionError(Component comp, String msg)
- EAS BOS MsgBox使用大全
- EAS BOS MsgBox使用大全
- EAS BOS 弹出框MsgBo使用大全
- EAS BOS 介绍
- 金蝶EAS BOS
- EAS BOS附件表
- EAS BOS锚定设置
- EAS BOS webservice安全性
- EAS BOS 常用代码
- EAS BOS单选框设置
- eas bos 常用代码
- EAS BOS Webservice的开发、部署及客户端使用
- EAS BOS生成EAS需要的id
- EAS BOS 安装插件方法
- EAS BOS webservice 调用原理
- eas bos 客户端常用代码
- EAS BOS工作流实施指南
- EAS Bos 合计行代码
- C#中调用Windows API的要点
- 使用Shell脚本对Linux系统和进程资源进行监控
- C程序运行
- openssl + apache + mod_ssl安装配置调试过程
- 学习JNative
- EAS BOS MsgBox使用大全
- ASP.NET MVC3 系列教程 - 部署你的WEB应用到IIS 6.0
- C语言程序设计(谭浩强)
- Struts2 OGNL
- MFC的消息映射机制相关
- 用Visual C#调用Windows API函数
- 黑马程序员——看完毕老师的多线程视频,多线程的小总结
- Linux Socket Programming by Example-第五章 将IP地址与Socket绑定
- MySQL+PHP+APACHE在linux下的安装