Delphi简明教程

时间:2014-07-14 02:56:58
【文件属性】:

文件名称:Delphi简明教程

文件大小:10.05MB

文件格式:PDF

更新时间:2014-07-14 02:56:58

Delphi 简明 教程

第一章  DELPHI 编程快速入门 .............................................................................................................................1 1.1 Delphi 基本概念介绍..............................................................................................................................1 1.1.1 Delphi 的基本形式.........................................................................................................................1 1.1.2 面向对象编程的概念.....................................................................................................................1 1.2 Delphi 新特性简介..................................................................................................................................2 1.2.1 Object Pascal 语言功能扩展..........................................................................................................2 1.2.2 改善 IDE.........................................................................................................................................2 1.2.3 增强 VCL 控件 ..............................................................................................................................3 1.2.4 加快复杂工程的开发速度.............................................................................................................3 1.3 1.4 系统配置和编程环境..............................................................................................................................3 1.3.1 Delphi 系统配置............................................................................................................................3 1.3.2 Delphi 编程环境............................................................................................................................4 第一个示例 .............................................................................................................................................6 1.5 小 结 ................................................................................................................................................... 11 第二章  WINDOWS 通用对话框 ............................................................................................................................12 2.1 2.2 对话框函数简介 ...................................................................................................................................12 2.1.1 ShowMessage 函数 ......................................................................................................................12 2.1.2 MessageDlg 函数..........................................................................................................................13 2.1.3 InputBox 函数 ..............................................................................................................................14 系统对话框调用技术............................................................................................................................15 2.2.1 2.2.2 文件对话框 ..................................................................................................................................15 “颜色”对话框...........................................................................................................................17 2.2.3 “字体”对话框...........................................................................................................................19 2.2.4 “查找”对话框...........................................................................................................................20 2.3 标准对话框的使用................................................................................................................................24 2.4 小 结 ...................................................................................................................................................33 第三章 菜单程序的开发和设计 ........................................................................................................................34 3.1 主菜单基本概述 ...................................................................................................................................34 3.1.1 创建菜单项 ..................................................................................................................................34 3.1.2 设置分隔条 ..................................................................................................................................37 3.1.3 设置快捷键 ..................................................................................................................................38 3.1.4 设置复选标志 ..............................................................................................................................40 3.1.5 菜单项有效状态设置...................................................................................................................41 3.2 主菜单的应用 .......................................................................................................................................42 3.3 主菜单和弹出菜单综合应用................................................................................................................53 3.3.1 项目和设置 ..................................................................................................................................54 Green Apple Data Center 2 3.3.2 Delphi 简明教程 弹出菜单的设计...........................................................................................................................55 3.3.3 运行结果和参考程序...................................................................................................................60 3.4 小 结 ...................................................................................................................................................63 第四章  DELPHI 中的图形绘制 ...........................................................................................................................64 4.1 基本图形的绘制....................................................................................................................................64 4.1.1 直线的绘制...................................................................................................................................64 4.1.2 椭圆的绘制...................................................................................................................................66 4.1.3 绘制多边形...................................................................................................................................68 4.1.4 绘制矩形.......................................................................................................................................70 4.1.5 绘制三角曲线...............................................................................................................................72 4.2 复杂图形的设计....................................................................................................................................75 4.2.1 设计复杂图案...............................................................................................................................75 4.2.2 实时绘画程序...............................................................................................................................81 4.3 手工绘制图形........................................................................................................................................86 4.4 小 结 .................................................................................................................................................105 第五章 用户窗体的设计和使用.......................................................................................................................106 5.1 5.2 5.3 快速使用向导......................................................................................................................................106 多页窗体开发......................................................................................................................................108 复合窗体开发......................................................................................................................................118 5.3.1 绘制直线的子窗体设计.............................................................................................................118 5.3.2 绘制椭圆的子窗体设计.............................................................................................................119 5.3.3 5.3.4 绘制多边形的子窗体设计.........................................................................................................121 主窗体的完整设计.....................................................................................................................123 5.4 多文档界面窗体的开发......................................................................................................................128 5.5 小 结 .................................................................................................................................................137 第六章  常见 VCL 控件的使用 ..........................................................................................................................139 6.1 6.2 6.3 6.4 6.5 6.6 第七章 Edit 控件和 Button 控件 .....................................................................................................................139 Listbox 控件和 Combobox 控件.........................................................................................................149 Memo 控件和 Dialog 控件 .................................................................................................................152 Radiogroup 控件和 Checkbox 控件....................................................................................................158 DirectoryOutline 控件和 Animate 控件..............................................................................................168 小 结 .................................................................................................................................................175 管理文件、目录和驱动器...................................................................................................................176 7.1 各种控件简介......................................................................................................................................176 7.1.1 7.1.2 7.1.3 驱动器控件.................................................................................................................................176 目录控件.....................................................................................................................................178 文件列表控件.............................................................................................................................179 7.1.4 文件过滤器控件.........................................................................................................................180 7.2 7.3 利用控件管理文件..............................................................................................................................182 管理目录..............................................................................................................................................187 7.3.1 ChDir 函数..................................................................................................................................187 7.3.2 MkDir 函数.................................................................................................................................187 7.3.3 RmDir 函数 ................................................................................................................................188 Green Apple Data Center Delphi 简明教程 3 7.3.4 应用实例 ....................................................................................................................................188 7.4 管理驱动器 .........................................................................................................................................193 7.4.1 DiskSize 函数 .............................................................................................................................193 7.4.2 DiskFree 函数.............................................................................................................................194 7.4.3 GetDir 函数 ................................................................................................................................195 7.5 小 结 .................................................................................................................................................196 第八章 数据库开发和管理 ..............................................................................................................................197 8.1 8.2 8.3 8.4 使用数据库向导 .................................................................................................................................197 自己定制数据库 .................................................................................................................................202 数据库管理程序 ................................................................................................................................. 211 设计数据库报表 .................................................................................................................................218 8.5 小 结 .................................................................................................................................................220 第九章 多媒体的设计和使用 ..........................................................................................................................221 9.1 认识 MediaPlayer 控件 .......................................................................................................................221 9.1.1 AutoEnable 属性 ........................................................................................................................222 9.1.2 Display 属性 ...............................................................................................................................223 9.1.3 Filename 属性.............................................................................................................................225 9.1.4 DeviceType 属性 ........................................................................................................................226 9.1.5 EnabledButtons 属性 ..................................................................................................................226 9.2 音频播放程序 .....................................................................................................................................227 9.3 视频播放程序 .....................................................................................................................................235


网友评论

  • 挺简单的教程,有用
  • 这是delph5的教程,我下的是7界面上还是有不少区别的