没有合适的资源?快使用搜索试试~ 我知道了~
《Delphi Programming for Dummies》是一本面向初学者的 Delphi 编程入门指南,作者是 Neil J. Rubenking。下面是这本书的主要内容概述: Chapter 1: The Grand Tour: 介绍 Delphi 编程语言的基本概念和开发环境,向读者展示 Delphi 是如何工作的。 Chapter 2: Navigating the Delphi IDE: 介绍 Delphi 集成开发环境(IDE)的界面和功能,向读者展示如何使用 IDE 进行编程。 Chapter 3: Delphi Programming Basics: 讲解 Delphi 编程的基础知识,包括变量、数据类型、运算符、流程控制等内容。 Chapter 4: The Art of Object-Oriented Programming: 介绍面向对象编程(OOP)的概念和在 Delphi 中的实现方式,包括类、对象、继承、多态等。
资源推荐
资源详情
资源评论
DELPHI PROGRAMMING
FOR BEGINNERS
About the Author
Yuriy Kalmykov is a well-known expert in software development and
author of many programming publications and textbooks, including
“Teaching Delphi Programming in Schools”. This book is а result of twen-
ty-v
e years of instructing students as a member of the Informatics and
Control Processes faculty at the National Research Nuclear University ME-
PhI (Moscow Engineering Physics Institute) and teaching in top prepara-
tory schools in Moscow.
Find additional free educational resources for teaching and learning to
program at LearnDelphi.org
This book is licensed under a Creative Commons
Attribution-ShareAlike 4.0 International license.
Full license https://creativecommons.org/licenses/by-sa/4.0/
2
Contents
MODULE 1. Introducing Delphi. Simple Components ......................................... 3
MODULE 2. Handling a Button Press Event
................................................................16
MODULE 3. Variables and Types of Variables. Type Conversion
..............21
MODULE 4. Standard Math Functions
. ............................................................................ 27
MODULE 5. Logical Expressions. Variables of Boolean Type. Logical
Operations
.............................................................................................................................................................. 30
MODULE 6. Conditional Execution in Program. IF…THEN…ELSE statement
. 34
MODULE 7. Nested If…Then…Else statement. Practicing Task Solving
. 39
MODULE 8. Procedures
................................................................................................................ 42
MODULE 9. Functions
.................................................................................................................... 48
MODULE 10. Graphics
.................................................................................................................... 51
MODULE 11. Loops
.......................................................................................................................... 54
MODULE 12. Strings
........................................................................................................................ 58
MODULE 13. Strings and Conversion To or From Numeric Types
. ......... 63
MODULE 14. TMemo Control
................................................................................................. 67
MODULE 15. TMemo Control (Continued)
.................................................................. 72
MODULE 16. Random Numbers, Constants, User Types and Arrays
. ... 76
MODULE 17. Single Dimensional Static Array
..........................................................79
MODULE 18. Array Sorting and Selection Sort
.......................................................84
MODULE 19. StringGrid Control
........................................................................................... 88
MODULE 20. StringGrid Practice
.......................................................................................... 93
MODULE 21. Two-Dimensional Arrays
.........................................................................100
MODULE 22. Date and Time
.................................................................................................107
MODULE 23. Timer
........................................................................................................................112
MODULE 24. Text Files
................................................................................................................ 117
MODULE 25. Standard File Dialogs
................................................................................. 132
3
Introducing Delphi.
Simple Components
The development of personal desktop computers led to the introduc-
tion of multi-tasking, multi-user operating systems such as Microsoft Win-
dows. However, as a result, the process of creating software has become
much more complicated. Visual integrated development environments
(IDE) and rapid application development (RAD) systems were created by
market leaders to facilitate the interaction with operating systems, reduce
coding time, and improve the quality of the code.
Visual Programming is a process of building software applications in
which a user can simultaneously design, edit, debug and test the app
using Visual IDE. In other words, Visual Programming is a combination of
two interconnected processes: designing an application window visually;
and writing the code.
Delphi, a powerful Pascal compiler with a number of signicant im-
provements for creating Windows applications, was rst released in 1996.
It is a high-level software development system with an integrated toolset
for developing complete applications; it is a tool for rapid application
development. Visual design and event-based programming concepts are
the pillars of Delphi ideology. Using those concepts signicantly improves
application design processes and greatly reduces development time.
Visual design allows users to lay out the application and see the results
of the process prior to even starting the actual program. There are other
benets too: to assign a property value to a control or element of the app,
it is not necessary to write multiple lines of code. All it takes is to change
that value in a Properties window. This change will automatically generate
or update the code.
MODULE 1
4
Module 1. Introducing Delphi. Simple Components
Run Delphi
The integrated development environment Delphi is a multi-window
system congured by setting elements of the user interface.
For any programmer’s action in the window, Delphi automatically
makes changes in the underlying program code.
The main Delphi window has MainMenu and ToolBar.
MainMenu contains all you need to manage the project.
ToolBar contains buttons for fast access to the most popular options
of the MainMenu.
MainMenu ToolBar
剩余137页未读,继续阅读
资源评论
xianyinsuifeng
- 粉丝: 433
- 资源: 54
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功