📄 c++ builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0044)http://www.17xie.com/read.php?bid=303&seq=11 -->
<HTML
xmlns:o><HEAD><TITLE>C++ Builder 程序设计实用教程 - 1.4 快速利用向导 - 张晋 - 17xie</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK
href="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/17xie.css"
type=text/css rel=stylesheet><LINK
href="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/read.css"
type=text/css rel=stylesheet>
<SCRIPT src="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/core.js"
type=text/javascript></SCRIPT>
<SCRIPT src="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/iframe.js"
type=text/javascript></SCRIPT>
<SCRIPT src="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/dialog.js"
type=text/javascript></SCRIPT>
<SCRIPT src="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/ajax.js"
type=text/javascript></SCRIPT>
<SCRIPT src="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/cookie.js"
type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV id=m-body>
<DIV id=read-top>
<DIV style="FLOAT: left"><A href="http://www.17xie.com/" target=_blank><IMG
src="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/booklogo.gif"></A></DIV>
<DIV id=read-menu><NOBR><A
onclick="APIframe.open('快速登录','/m/user/poplogin.php',400,160)"
href="javascript:void(0)">登录</A> <A
onclick="APIframe.open('17xie-快速注册','/m/user/reg.php',480,460)"
href="javascript:void(0)">注册</A> | <A href="http://www.17xie.com/"
target=_blank>首页</A> <A href="http://www.17xie.com/bbs/index.php?ishow=y"
target=_blank>论坛</A> <A href="http://www.17xie.com/user.php"
target=_blank>会员中心</A> <A href="http://www.17xie.com/help/"
target=_blank>帮助</A></NOBR></DIV></DIV>
<DIV id=read-title>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><A
href="http://www.17xie.com/" target=_blank>17xie</A> > <A
href="http://www.17xie.com/book.php?bid=303">C++ Builder 程序设计实用教程</A> > 1.4
快速利用向导</DIV>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 4px"><INPUT class=button-red8 onclick="window.location.href='/m/book/write.php?pid=5517'" type=button value=点击编辑本页></DIV></DIV>
<DIV id=read-mpage>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 8px; PADDING-TOP: 8px">背景:
<SPAN class=chcolor style="BACKGROUND-COLOR: #eeeeff"
onclick="chcolor('#eeeeff')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #ffeeee"
onclick="chcolor('#ffeeee')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #eeffee"
onclick="chcolor('#eeffee')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #ffffee"
onclick="chcolor('#ffffee')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #eeeeee"
onclick="chcolor('#eeeeee')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #ffffff"
onclick="chcolor('#ffffff')"> </SPAN> </DIV>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 3px">
<TABLE>
<TBODY>
<TR>
<TD><NOBR><SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=1'">|<</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=10'">上一页</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=8'">8</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=9'">9</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=10'">10</SPAN>
<SPAN class=page-here
onclick="window.location.href='/read.php?bid=303&seq=11'">11</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=12'">12</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=13'">13</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=14'">14</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=12'">下一页</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=105'">>|</SPAN></NOBR>.</TD>
<TD><INPUT class=input-text
onkeydown='if(window.event.keyCode==13)window.location.href="/read.php?bid=303&seq="+this.value'
style="WIDTH: 25px"></TD>
<TD style="PADDING-TOP: 2px">[共105页]</TD></TR></TBODY></TABLE></DIV></DIV>
<DIV id=read-conts style="BACKGROUND-COLOR: #ffffff"><SPAN
style="FONT-SIZE: 12px">本页字数:8674 最后更新:<NOBR>12天以前</NOBR>
<NOBR>[11-30 11:21]</NOBR> 由 <A onclick='$showu(1271,"张晋")'
href="javascript:void(0)">张晋</A> 编辑 <A class=aline
style="COLOR: red" href="http://www.17xie.com/m/user/inviter_reg.php"
target=_blank>注册17xie 一起来写书 实现您的出书梦想!</A></SPAN>
<HR>
<CENTER>
<DIV style="WIDTH: 547px; TEXT-ALIGN: left">
<DIV class=Section1 style="LAYOUT-GRID: 15.6pt none">
<H2><A name=_Toc502915082></A><A name=_Toc392379366><SPAN
style="mso-bookmark: _Toc502915082"><SPAN lang=EN-US>1.4<SPAN
style="mso-spacerun: yes"> </SPAN></SPAN></SPAN></A><SPAN
style="mso-bookmark: _Toc392379366"><SPAN
style="mso-bookmark: _Toc502915082"><SPAN
style="FONT-FAMILY: 楷体_GB2312; mso-ascii-font-family: 'Times New Roman'">快速利用向导</SPAN></SPAN></SPAN></H2>
<P class=MsoNormalIndent><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在</SPAN><SPAN
lang=EN-US>CBuilder 5</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中系统为用户提供了许多个向导应用程序,利用这些向导程序可以节省很多的劳动,可以少用甚至不用添加代码就可以生成一个应用程序,下面就利用</SPAN><SPAN
lang=EN-US>Application Wizard</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">向导来生成一个简单的应用程序,具体的程序设计步骤如下所示。</SPAN></P>
<H4><SPAN lang=EN-US>1</SPAN><SPAN
style="FONT-FAMILY: 楷体_GB2312; mso-ascii-font-family: 'Times New Roman'">.开始工作</SPAN></H4>
<P class=MsoNormalIndent><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">首先启动一个新的项目,选择菜单</SPAN><SPAN
lang=EN-US>File</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中的</SPAN><SPAN
lang=EN-US>New</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">项,在</SPAN><SPAN
lang=EN-US>CBuilder 5</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的集成开发环境中就会弹出一个如图</SPAN><SPAN
lang=EN-US>1-10</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">标题为</SPAN><SPAN
lang=EN-US>New Item</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的对话框,用户在其中可以选择各种向导程序和窗体形式等。</SPAN></P>
<P class=a><SPAN lang=EN-US><IMG height=180
src="C++ Builder 程序设计实用教程 - 1_4 快速利用向导 - 张晋 - 17xie.files/909ecbb02e.jpg"
width=219 v:shapes="_x0000_i1025"></SPAN></P>
<P class=MsoCaption><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">图</SPAN><SPAN
lang=EN-US>1-10<SPAN style="mso-spacerun: yes"> </SPAN>New
Items</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对话框</SPAN></P>
<P class=MsoNormalIndent style="TEXT-INDENT: 0cm"><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在</SPAN><SPAN
lang=EN-US>New Item</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对话框中有九个选项——</SPAN><SPAN
lang=EN-US>Projects</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Data Modules</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Business</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>New</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>ActiveX</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Multitier</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Project1</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Forms</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和</SPAN><SPAN
lang=EN-US>Dialogs</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,九个选项下对应着相应的选项,如下所示:</SPAN></P>
<P class=MsoNormal
style="MARGIN-LEFT: 42.5pt; TEXT-INDENT: -21.25pt; tab-stops: list 42.5pt; mso-list: l0 level1 lfo1"><SPAN
lang=EN-US
style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN
style="mso-list: Ignore">n<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN lang=EN-US>New </SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">选项:</SPAN><SPAN
lang=EN-US>Application</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Batch File</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Component</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Data Module</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>DLL</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Form</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Package</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Project Group</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Report</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Resource DLL Wizard</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Service</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Service Application</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Text</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Thread Object</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Unit</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和</SPAN><SPAN
lang=EN-US>Web Server Application</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等;</SPAN></P>
<P class=MsoNormal
style="MARGIN-LEFT: 42.5pt; TEXT-INDENT: -21.25pt; tab-stops: list 42.5pt; mso-list: l0 level1 lfo1"><SPAN
lang=EN-US
style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN
style="mso-list: Ignore">n<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN lang=EN-US>ActiveX</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">选项:</SPAN><SPAN
lang=EN-US>ActiveForm</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>ActiveX Control</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>ActiveX Library</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US>Automation Object</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -