📄 dpi39.htm
字号:
<html>
<head>
<title>快速创建消息对话框</title>
<meta content="text/html; charset=gb2312" http-equiv=Content-Type>
</head>
<p align="center"><script src="../../1.js"></script></a>
<body bgcolor="#ffffff" leftmargin="5" topmargin="1" marginheight="5" marginwidth="5">
<div align=center>
<table border=0 cellpadding=0 cellspacing=0 width=680 align="center">
<tbody>
<tr>
</tr>
</tbody>
</table>
<table border=0 bordercolordark=#66aaff bordercolorlight=#66aaff cellpadding=0
cellspacing=0 width=680 align="center" height="128">
<tbody>
<tr>
<td bgcolor=#ffffff height=15>
<div align=center class=H1> <b><big>快速创建消息对话框</big></b></font></div>
</td>
</tr>
<tr valign=top>
<td class=H1 height=692>
<p align="center"> </p>
<p> 在开发应用程序时,经常需要创建消息对话框。Delphi 提供了一个通用的对话框创建函数MessageBox,它是对Windows—API
中MessageBox 函数的封装,但使用时不需要提供窗口句柄。利用MessageBox 函数可以显示一条消息和一个或多个按钮,并且可以通过用户在对话框中的选择接收用户的响应,作为程序继续执行的依据。<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -