编程论坛
注册
登录
编程论坛
→
Delphi论坛
messagedlg我怎么用都错呢???请各位大虾帮帮忙!!!
luoshao
发布于 2008-04-19 10:04, 813 次点击
if MessageDlg('是否要删除,确定吗?', mtInformation,[mbYes, mbNo, mbCancel],0)=mbYes then
Delete;
错误信息:
只有本站会员才能查看附件,请
登录
2 回复
#2
anthony634
2008-04-19 13:33
TMsgDlgBtn Value Corresponding return value
mbOK mrOk
mbCancel mrCancel
mbYes mrYes
mbNo mrNo
mbAbort mrAbort
mbRetry mrRetry
mbIgnore mrIgnore
mbAll mrAll
mbNoToAll mrNoToAll
mbYesToAll mrYesToAll
#3
DreamHK
2008-04-19 22:19
if MessageDlg('是否要删除,确定吗?', mtInformation,[mbYes, mbNo, mbCancel],0)=mrYes then
Delete;
1