怎样显示一条消息 不知道你想显示什么消息,如果只是一条提示信息的话,引用Dialogs单元,然后就可以使用showmessage()方法了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 显示消息有很多过程:Procedure ShowMessage(const Msg:string);Procedure ShowMessageFmt(const Msg:string;Params:array of const);Procedure MessageDlg(const Msg:string;AType:TMsgDlgType; AButtons:TMsgDlgButtons;HelpCtx:Longint):Word;等;不知道你是时用哪种? APPLICATION.MESSAGEBOX(const Text, Caption: PChar; Flags: Longint): Integer给个例子:if Application.MessageBox('确定要退出吗?','提示',MB_OKCANCEL) <> IDOK thenCloseElse Exit; 可视化控件-有无句柄的区别 如何用sendmessage 点击 toolbar上的某一个按钮? 如何获取access数据库中表的列名,并且能根据第几列这样来引用该列的数据。 DELPHI中只能使用OLE嵌入WORD文档吗,是否有其它更好的控件? 请问高手一个小问题 运行为什么没有结果???????????? 谁有没有 用TWebbrower 捕捉DHTML控件的事件的例子??? 關於日期計算 请问:怎样将dbgrid的前二个字段固定在最前,即横向滚动时前二个字段不滚动? ==请推荐几款常用的可以二次开发的条形码打印机== 狂狼,关于设置字体的问题. 透明窗口再次设置的问题?
Procedure ShowMessage(const Msg:string);
Procedure ShowMessageFmt(const Msg:string;Params:array of const);
Procedure MessageDlg(const Msg:string;AType:TMsgDlgType; AButtons:TMsgDlgButtons;HelpCtx:Longint):Word;
等;
不知道你是时用哪种?
给个例子:
if Application.MessageBox('确定要退出吗?','提示',MB_OKCANCEL) <> IDOK then
Close
Else Exit;