008 _ DELPHI6 Programming Tutorial

Source: Internet
Author: User
DELPHI6 Programming Tutorial

DelphiTutorial Series of books(008)DELPHI6Programming Tutorial Organize netizens (state)Email:Shuaihj@163.com

:

Part1

Part2

 

Author: Han Weifeng

Series name: Others

Press: Tsinghua University Press

ISBN: 7302051178

Mounting time: 2002-2-5

Published on: February 1, January 2002

Page number: 356

Version: 1-1

Introduction

Delphi 6 is a Windows quick application development tool developed by Borland. This book provides an in-depth, comprehensive, and systematic introduction to the technology for developing applications using Delphi 6. There are 12 chapters in the book, which mainly introduces the programming language of Delphi 6-Object Pascal; the object-oriented features of Delphi 6; the basic operations of programming (the design of forms and menus ); design the visual components of the program, debug the program code and handle exceptions, and perform database operations and develop multimedia operations.
This book is comprehensive and fluent in language. It can be used as a database course material for computer-related majors in colleges and universities, as well as for scientific and technical personnel engaged in computer software work and engineering and technical personnel.

Directory

Chapter 6 step into Delphi 6
1.1 New Features of Delphi 6
1.2 Delphi 6
1.3 integrated development environment of Delphi 6
1.3.1 startup of Delphi 6
1.3.2 integrated development environment of Delphi 6
1.3.3 Toolbar
1.3.4 component Board
1.3.5 object Viewer
1.3.6 form
1.3.7 code editor
1.4 create an application using the wizard
1.5 installation of Delphi 6
1.5.1 new installation features of Delphi 6
1.5.2 System Configuration
1.5.3 Installation Process
Chapter 2 Delphi 6 Programming Language
2.1 programming style
2.1.1 notes
2.1.2 use in uppercase
2. 1. 3. Blank
2.1.4 overall aesthetics of programming code
2.1.5 highlights of syntax
2.2 constants and variables
2.2.1 Constants
2.2.2 Variables
2.3 Basic symbols
2.4 Operator
2.4.1 value assignment operator
2.4.2 Arithmetic Operators
2.4.3 logical operators
2.4.4 Relational operators
2.4.5 operator priority
2.5 simple data types
2.5.1 ordered type
2.5.2 real number type
2.5.3 Date and Time
2.6 string type
2.7 construction type
2.7.1 array type
2.7.2 record type
2.7.3 set type
2.7.4 file type
2.8 pointer type
2.8.1 definition of pointer type
2.8.2 pointer-type operations
2.8.3 no type pointer
2.8.4 character pointer type
2.9 Variant Type
2.9.1 syntax rules for Variant Types
2.9.2 variant can dynamically change the type
2.10 type content and forced conversion
2.10.1 type compatibility
2.10.2 value assignment compatibility
2.10.3 variable forced type conversion
2.10.4 numeric value forced type conversion
Chapter 2 Object Pascal program structure
3.1 statement
3.1.1 statement Overview
3.1.2 simple statement
3.1.3 condition control statement
3.1.4 cyclic statements
3.1.5 other statements
3.2 process and Function
3.2.1 process definition and calling
3.2.2 declaration, definition, and call of functions
3.2.3 parameter transmission method
3.2.4 scope of functions and variables in a process
3.3 Process type
3.3.1 process type declaration
3.3.2 method pointer
3.3.3 procedure type usage
Chapter 1 program design ideas
4.1 categories and objects
4.1.1 type
4.1.2 object
4.1.3 a specific example of classes and objects
Methods of the 4.2 class
4.2.1 method description and definition
4.2.2 Method Type
4.2.3 abstract Method
4.2.4 overload and redefinition Methods
4.3 fields and attributes
4.3.1 Fields
4.3.2 class attributes
Encapsulation of 4.4 categories
Inheritance of 4.5 categories
4.6 Type Polymorphism
Chapter 2 step 1 of Program Design
5.1 forms and windows
5.1.1 window
5.1.2 Delphi Form
5.1.3 form naming
5.2 form and border types
5.2.1 Form Type
5.2.2 border type
5.2.3 border icon
5.3 set the position and size of the form
5.4 other important properties of the form
5.5 create a form
5.6 mutual reference of forms
5.7 message dialog box
5.7.1 Delphi message dialog box
5.7.2 Delphi input box
5.7.3 Windows message dialog box
5.8 development custom dialog box
5.8.1 display a mode or non-mode dialog box
5.8.2 provide command buttons
5.8.3 set the tab order
5.8.4 test the tab order
5.8.5 delete a component from the tab order
5.8.6 make the component valid or invalid
5.8.7 set the focus of the dialog box
5.8.9 Save the form as a template
5.9 MDI form
5.9.1 create an MDI parent form and child form
5.9.2 create an application menu
5.9.3 create a new window
5.9.4 arrange icons
5.9. 5 stacked MDI window
5.9.6 tiled subwindow
5.9.7 close the subwindow
5.9.8 use the MDI parent window attribute
5.10 Menu Design
5.10.1 tmainmenu component
5.10.2 use the menu Editor
5.10.3 Design of shortcuts and hotkeys
5.10. 4 Design sub-menu
5.10.5 shortcut menu design
5.10.6 use a menu Template
5.11 create a "start" menu for Windows
Chapter 2 visual component library
6.1 basic component knowledge
6.1.1 components and objects
6.1.2 component type
6.1.3 component attributes
6.1.4 component events
6.1.5 component method
6.1.6 hierarchy of visual components
6.2 Common simple components
6.2.1 label component
6.2.2 edit component
6.2.3 memo Components
6.2.4 button component
6.3 select components
6.3.1 checkbox component
6.3.2 radiobutton Components
6.3.3 ListBox component
6.3.4 ComboBox component
6.3.5 groupbox component
6.3.6 radiobox Components
6.4 scrollbar, panel, and actionlist Components
6.4.1 scrollbar component
6.4.2 panel component
6.4.3 actionlist component
6.5 special command button Components
6.5.1 bitbtn component
6.5.2 SpeedButton component
6.6 complex input/output components
6.6.1 maskedit component
6.6.2 drawgrid component
6.6.3 stringgrid component
6.7 decoration components
6.7.1 bevel component
6.7.2 shape component
6.7.3 image Components
6.7.4 static text component
6.7.5 chart Components
6.7.6 scrollbox Components
6.7.7 splitter Components
6.7.8 checklistbox
6.7.9 controlbar
Chapter 4 program exception handling and debugging
7.1 Exception Handling Mechanism
7.2 Exception Handling Structure
7.2.1 try... struct t Structure
7.2.2 try... Finally structure
7.2.3 nesting of two structures
7.3 Runtime Library exception class (RTL exception)
7.3.1 I/O exceptions
7.3.2 heap exception
7.3.3 integer exception
7.3.4 floating point exception
7.3.5 type Matching Error
7.3.6 type conversion exception
7.3.7 hardware exception
7.3.8 handle VCL exceptions
7.4 General Exception Handling
7.5 database Exception Handling
7.5. l edatabaseerror exception
7.5. 2 An edbengineerror error occurred.
7.6 custom exception classes
7.6.1 user-defined exceptions
7.6.2 User-Defined database exceptions
7. 7. Set the environment for program debugging
7.8 program error type
7.8.1 design error
7.8.2 compilation errors
7.8.3 runtime error
7.8.4 logical error
7.9 use the run menu command to debug the program
7.10 use breakpoint
7.11 use monitoring window
Chapter 1 common system objects and components
8.1 tapplication class
1.1 attributes of the tapplicatio class
8.1. 2 tapplication Class Method
8.1.3 tapplication events
8.1.4 tscreen class
8.2 dialog box on the dialog Tab
8.2.1 opendialog dialog box
8.2.2 savedialog dialog box
8.2.3 openpicturedialog dialog box
8.2.4 savepicturedialog dialog box
8.2.5 fontdialog dialog box
8.2.6 colordialog dialog box
. 7 printdialog dialog box
8.2.8 printersetupdialog dialog box
8.2.9 finddialog dialog box
8.2.10 replacedialog dialog box
8.2.11 a comprehensive example of a Common Dialog Box
8.3 common components on the Win32 Tab
8.3.1 tabcontrol component
8.3.2 pagecontrol component
8.3.3 RichEdit component
8.3.4 statusbar component
8.3.5 toolbar component
Chapter 4 database management tools
9.1 Database Desktop System
9.1.1 Database Desktop System Startup
9.1.2 use the Database Desktop System to create a database table
9.1.3 use the Database Desktop System to query the database
9.2 Database Browser
9.2.1 Database Browser Interface
9.2.2 maintain database aliases
9.2.3 use a database browser to access the database
9.2.4 enter an SQL statement
9.3 Data Dictionary
Chapter 2 develop database applications
10.1 development of database applications
10.1.1 database types supported by Delphi 6
10.1.2 Relational Database Structure
10.1.3 Data Access Control)
10.2 use the BDE component to access data
10.2.1 table component
10.2.2 query component
10.2.3 storedpro component
10.2.4 datasource component
10.2.5 Database Component
10.2.6 session component
10.2.7 batchmove component
10.2.8 updatesql component
10.2.9 nestedtable component
10.2.10 a simple example of using the BDE component
10.3 data sensing components
10.3.1 DBGrid component
10.3.2 dbnavigator component
10.3.3 dbtext component
10.3.4 dbedit component
10.3.5 dbmemo component
10.3.6 dbimage component
10.3.7 dblistbox component
10.3.8 dbcombobox component
Chapter 4 Database Query
11.1 query records in a database
11.1.1 use the gotokey method to find data records
11.1.2 use findkey to find data records
11.1.3 use the locate method to find data records
11.1.4 use gotonearest and findnearest for inaccurate search
11.2 use of the tquery component
11.3 query static SQL statements
11.4 query of dynamic SQL statements
11.5 multi-table queries
Chapter 4 Develop multimedia applications
12.1 prepare a simple Media Player
12.2 apsaravideo player Components
12.2.1 Media Player Components
12.2.2 attributes of Media Player Components
12.2.3 processes and functions of Media Player Components
12.2.4 events of the media playback component
12.3 CD player Creation
12.3.1 set the CD player form
12.3.2 attribute settings
12.3.3 complete program code of the CD player
12.4 ActiveX Components
12.4.1 ActiveX components, interfaces, and type Libraries
12.4.2 Use ActiveX components of Delphi 6
12.4.3 create your own ActiveX Components

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.