目 录第 1 章 Delphi 7 程序设计入门······················································································11.1 理论知识··········································································································11.1.1 算法与程序设计···························································································11.1.2 面向对象程序设计基础··················································································21.1.3 Delphi 7 概述·······························································································41.1.4 Delphi 7 的集成开发环境················································································41.1.5 利用Delphi 开发应用程序的方法步骤································································71.1.6 Delphi 7 程序的组成···················································································· 111.2 典型实例········································································································ 131.3 上机练习········································································································ 14课后考场················································································································ 15第 2 章 基本数据类型与表达式···················································································· 172.1 理论知识········································································································ 172.1.1 基本数据类型···························································································· 172.1.2 Delphi 7 中的标识符与保留字········································································ 202.1.3 Delphi 7 中的常量与变量·············································································· 212.1.4 Delphi 7 中的运算符与表达式········································································ 232.1.5 Delphi 7 的语句书写规则与赋值语句······························································· 252.1.6 Delphi 7 的常用函数与过程··········································································· 262.2 典型实例········································································································ 312.3 上机练习········································································································ 33课后考场················································································································ 34第 3 章 基本程序设计语句··························································································· 363.1 理论知识········································································································ 363.1.1 基本的顺序结构语句及其应用······································································· 363.1.2 选择结构语句及其基本应用·········································································· 373.1.3 循环结构语句及其基本应用·········································································· 433.2 典型实例········································································································ 463.2.1 典型实例一······························································································· 463.2.2 典型实例二······························································································· 483.2.3 典型实例三······························································································· 493.2.4 典型实例四······························································································· 513.2.5 典型实例五······························································································· 52 II3.3 上机练习········································································································ 543.3.1 上机练习一······························································································· 543.3.2 上机练习二······························································································· 54课后考场················································································································ 55第 4 章 数组程序设计·································································································· 594.1 理论知识········································································································ 594.1.1 数组的概念······························································································· 594.1.2 一维静态数组的定义与使用·········································································· 594.1.3 二维数组及多维数组的定义与使用································································· 624.1.4 动态数组的定义与使用················································································ 644.2 典型实例········································································································ 674.2.1 典型实例一······························································································· 674.2.2 典型实例二······························································································· 694.3 上机练习········································································································ 704.3.1 上机练习一······························································································· 704.3.2 上机练习二······························································································· 72课后考场················································································································ 74第 5 章 过程与函数····································································································· 765.1 理论知识········································································································ 765.1.1 过程与函数的概念······················································································ 775.1.2 过程的定义与调用······················································································ 775.1.3 函数的定义与调用······················································································ 795.1.4 参数的传递······························································································· 815.1.5 子程序的嵌套与递归··················································································· 835.2 典型实例········································································································ 875.2.1 典型实例一······························································································· 875.2.2 典型实例二······························································································· 895.3 上机练习········································································································ 905.3.1 上机练习一······························································································· 905.3.2 上机练习二······························································································· 91课后考场················································································································ 93第 6 章 用户自定义类型······························································································ 956.1 理论知识········································································································ 956.1.1 枚举类型的定义与使用················································································ 956.1.2 子界类型的定义与使用················································································ 976.1.3 集合类型的定义与使用················································································ 986.1.4 记录类型的定义与使用·············································································· 1016.2 典型实例······································································································ 1046.2.1 典型实例一····························································································· 104 III6.2.2 典型实例二····························································································· 1066.3 上机练习······································································································ 1076.3.1 上机练习一····························································································· 1076.3.2 上机练习二····························································································· 109课后考场···············································································································111第 7 章 常用组件的使用·····························································································1137.1 理论知识·······································································································1137.1.1 文本类组件的使用·····················································································1137.1.2 按钮类组件的使用···················································································· 1217.1.3 列表类组件的使用···················································································· 1247.1.4 TTimer 时钟组件的使用············································································· 1287.1.5 对话框组件的使用···················································································· 1297.1.6 TImage 组件···························································································· 1327.1.7 菜单组件································································································ 1337.1.8 TTabControl 组件和 TPageControl 组件的使用·················································· 1377.1.9 TScrollBar、TTrackBar 和 TProgressBar 组件的使用··········································· 1417.1.10 TPanel 组件和TGroupBox 组件 ·································································· 1437.1.11 工具栏组件与状态栏组件·········································································· 1447.2 典型实例······································································································ 1447.2.1 典型实例一····························································································· 1447.2.2 典型实例二····························································································· 1477.3 上机练习······································································································ 1497.3.1 上机练习一····························································································· 1497.3.2 上机练习二····························································································· 150课后考场·············································································································· 151第 8 章 Delphi 7 的文件系统······················································································ 1548.1 理论知识······································································································ 1548.1.1 文件的基本概念······················································································· 1548.1.2 Delphi 7 中的文件类型及文件类型变量的定义················································· 1568.1.3 文本文件的使用······················································································· 1578.1.4 记录文件的使用······················································································· 1638.2 典型实例······································································································ 1708.2.1 典型实例一····························································································· 1708.2.2 典型实例二····························································································· 1728.3 上机练习······································································································ 1738.3.1 上机练习一····························································································· 1738.3.2 上机练习二····························································································· 175课后考场·············································································································· 177第 9 章 应用程序界面设计技术·················································································· 179 IV9.1 理论知识······································································································ 1799.1.1 多窗体程序的设计···················································································· 1799.1.2 SDI 应用程序设计技术·············································································· 1829.1.3 MDI 应用程序设计技术············································································· 1839.1.4 变量的作用域·························································································· 1869.2 典型实例······································································································ 1889.3 上机练习······································································································ 191课后考场·············································································································· 195第 10 章 DLL 应用编程······························································································ 19710.1 理论知识···································································································· 19710.1.1 DLL 概述······························································································ 19710.1.2 DLL 编写······························································································ 19910.1.3 加载DLL 的方法···················································································· 20210.1.4 调用DLL 中的过程和函数········································································ 20410.1.5 在 DLL 中实现窗体重用··········································································· 20810.2 典型实例···································································································· 21210.3 上机练习···································································································· 215课后考场·············································································································· 218第 11 章 组件开发技术······························································································ 21911.1 理论知识···································································································· 21911.1.1 组件与组件技术概述················································································ 21911.1.2 确定组件基类························································································ 22111.1.3 创建组件单元························································································ 22311.1.4 创建包工程··························································································· 22411.1.5 在组件中添加属性··················································································· 22511.1.6 在组件中添加事件··················································································· 23111.1.7 调试组件······························································································ 23411.1.8 制作组件图标和发布组件·········································································· 23511.2 典型实例···································································································· 23511.3 上机练习···································································································· 238课后考场·············································································································· 240第 12 章 图形图像编程······························································································ 24212.1 理论知识···································································································· 24212.1.1 TCanvas 对象的使用················································································ 24212.1.2 TGraphic 对象的使用··············································································· 25012.1.3 TPicture 对象的使用················································································ 25012.1.4 TBitmap 对象的使用················································································ 25212.1.5 Delphi 中的图形图像组件·········································································· 25212.2 典型实例···································································································· 255 V12.2.1 典型实例一··························································································· 25512.2.2 典型实例二··························································································· 25712.3 上机练习···································································································· 25912.3.1 上机练习一··························································································· 25912.3.2 上机练习二··························································································· 261课后考场·············································································································· 263第 13 章 多媒体应用程序开发···················································································· 26513.1 理论知识···································································································· 26513.1.1 多媒体的概念························································································ 26513.1.2 TAnimate 组件的使用··············································································· 26613.1.3 TMediaPlayer 组件的使用·········································································· 26913.2 典型实例···································································································· 27413.2.1 典型实例一··························································································· 27413.2.2 典型实例二··························································································· 27713.3 上机练习···································································································· 27913.3.1 上机练习一··························································································· 27913.3.2 上机练习二··························································································· 280课后考场·············································································································· 282第 14 章 数据库应用开发··························································································· 28314.1 理论知识···································································································· 28314.1.1 数据库的基本概念·················································································· 28314.1.2 利用数据库桌面创建数据库······································································· 28414.1.3 利用 BDE 组件开发数据库应用程序的模式··················································· 28914.1.4 TTable 组件··························································································· 29014.1.5 TDataSource 组件···················································································· 29414.1.6 Data Controls 组件··················································································· 29414.1.7 SQL 语言······························································································ 29814.1.8 TQuery 组件·························································································· 30014.2 典型实例···································································································· 30314.2.1 典型实例一··························································································· 30314.2.2 典型实例二··························································································· 30814.3 上机练习·····································································································31114.3.1 上机练习一····························································································31114.3.2 上机练习二··························································································· 313课后考场·············································································································· 318附录 A Delphi 中的虚拟键代码及对应的键································································· 321参考文献····················································································································· 323
Delphi7应用教程.pdf
- 资源分类:Delphi/Pascal/Pascal编程基础/学习书籍
- 发 布 人:房东的猫
- 文件大小:6396314
- 文件格式:.pdf
- 浏览次数:40
- 下载次数: 3
- 发布时间:9月4日
标签:
Delphi/Pascal
下载Delphi7应用教程.pdf用户还喜欢
- 18480 文章数
- 500万+ 热度
作者专栏
编辑推荐
- 淡抹u2引擎,修复内容较多,物有所值
- 界域传说·经典巨作=传世单机(一键安装)
- 丸子版本(175个传世版本大集合)
- GS版本:神话公益服务端+客户端
- 图片放大工具(放大图片不模糊)
- 剪映无限制VIP版
- 传奇世界客户端下载器,史上最全传世客户端
- 传世GS20220920商业引擎注册+登录配置器 解压密码是1
- U2官方排行榜游戏网关 支持元神,支持传家宝
- GS开战传世客户端+服务端
- (淡漠夕阳)u2引擎合区工具
- 传世GS引擎消除“你的游戏客户端版本号过旧,请及时更新”提示
- 传世一机多区双线路配置器--免密码版本
- 传世凤凰登陆器劫持修复软件
- SQLite3 for Navicat
- 传奇世界npc对话框编辑工具
- 传世GS落霞铭文服务器端
- gs_20210409引擎包+注册机(无限制)
- 传奇世界NPC对话封包查看器[支持时长版和极速版]
- 彩虹引擎传世脚本编辑工具1.7版来了,支持函数脚本翻译
评论