Application.MessageBox
MessageBox
Application.MessageDlg
MessageBox
Application.MessageDlg
解决方案 »
- ExcelWorkBook.SaveAs(newFilePath)报错
- inno打包程序,替换文件失败时,怎么自动忽略,不弹出提示框?
- 谁有在delphi7环境下发送电子邮件的原代码??*(最好能带附件)
- Delphi中调用DLL出现问题!!
- 业务导肮?
- 各位老大,烦死我了,被电信追欠缴话费。
- 求托盘程序,控件!
- 简单一问:我做的纯文本的编辑器(用的memo控件)中无法使用del键删除字符,何解?
- Thread的问题
- delphi中如何用ado建立远程数据库连接?
- 用在sql server里面是没问题的,但用在interbase里面会出现"Can not alter a view"的错误!真是气死我了!一个月了,...
- 如何列举ODBC中所有的数据源(DSN)
Application.Terminate;
能否中文说明一下?
MessageBox(Handle,'哈哈,你好'关于本程序',
MB_OK+MB_ICONEXCLAMATION+MB_RTLREADING);
看看和其他的有什么不同了?
MB_OK+MB_YESNO+MB_ICONQUESTION);是API函数
或Application.MessageBox(‘文本’,
MB_OK+MB_YESNO+MB_ICONQUESTION)
Application.MessageDlg(‘文本’,
MB_OK+MB_YESNO+MB_ICONQUESTION)
messagebox
messageboxex
Application.MessageBox('请输入代码!','提示',MB_ICONINFORMATION + MB_OK)2、确认
Application.MessageBox('真要修改当前出库单?','修改确认',MB_ICONQUESTION + MB_OKCANCEL)3、错误或警告
Application.MessageBox('数据库连接失败!','错误',MB_ICONERROR + MB_OK)
//或用ICONWARNING代替ICONERROR -- 罗记 于 2002.1.24
MessageBox
Application.MessageDlg
要例子到“F1”吧
displays an input dialog box that enables the user to enter a string
InputQuery displays an input dialog that enables the user to enter a string
LoginDialog
brings up the database Login dialog to allow the user to connect to a database server
MessageDlg
displays a message dialog box in the center of the screen
MessageDlgPos
displays a message dialog box at the specified screen coordinatesSelectDirectory
brings up a dialog to allow the user to enter a directory name
ShowMessage
displays a message box with an OK button
ShowMessageFmt
displays a message box with a formatted messageMessageBox&MessageBoxPos
InputBox 函数 创建一个用于输入的对话框
InputQuery 函数 创建一个用于输入的对话框,有返回值表示确定或取消
MessageDlg 函数 在屏幕的中间显示一个消息框
MessageDlgPos 函数 根据输入的位置在屏幕上显示一个消息框
MessageDlgPosHelp 函数 同上,还显示一个帮助按钮
ShowMessage 过程 显示一个对话框
ShowMessageFmt 过程 显示格式化的字符串
如果图方便调用WINDOWS的函数,不会就查个帮助撒!嘿嘿~~~
(example:
if messagedlg('关闭表单?',mtconfirmation,[mbyes,mbno],0)=mryes then
close;)
试试吧!
不会用的,请按f1.
delphi是ShowMessage('hi');
今天真是大开眼界,