burning 发表于 2008-6-16 16:41

求救,showmessage的所有用法

如何用showmessage做一个对话框,又有确定,取消,以及警告那些对话框。。。。。。。。。。。[tk11] [tk16] 就象vb中的msgbox那样的

许晴 发表于 2008-6-18 23:53

用MassageDlg()函数。[tk08]

burning 发表于 2008-6-23 13:17

回复 2# 许晴 的帖子

杂用?我上面说错了 不是showmessage 应该是messagebox的用法
if messagebox('是否真的退出本系统?','提示',mb_IconQuestion+mb_OkCancel)=idok then
哪错?[tk09]

provoke 发表于 2008-6-23 23:13

if Aplication.MessageBox('即将退出系统,继续吗?','标题',mb_yesno+mb_iconinformation)=idno then
    Exit;
Application.Terminate;

kevin_ 发表于 2008-7-2 01:25

回复 3# burning 的帖子

if messagebox(0,'系统即将退出','提示',mb_yesno or mb_iconinformation) =idno  then
exit;

页: [1]

编程论坛