Delphi 5 Quick start.pdf
(
6938 KB
)
Pobierz
Quick Start
Quick Start
Borland
®
Delphi
™
5
for Windows 98, Windows 95, & Windows NT
Inprise Corporation
100 Enterprise Way, Scotts Valley, CA 95066-3249
Refer to the file DEPLOY.TXT located in the root directory of your Delphi 5 product for a complete list of files that you
can distribute in accordance with the Delphi 5 License Statement and Limited Warranty.
Inprise may have patents and/or pending patent applications covering subject matter in this document. The
furnishing of this document does not give you any license to these patents.
C
OPYRIGHT
© 1983, 1999 Inprise Corporation. All rights reserved. All Inprise and Borland brand and product names
are trademarks or registered trademarks of Inprise Corporation. Other brand and product names are trademarks or
registered trademarks of their respective holders.
Printed in the U.S.A.
HDE1350WW21000 2E1R799
9900010203-9 8 7654321
PDF
Contents
Chapter 1
Introduction 1-1
What is Delphi? . . . . . . . . . . . . . . . . . . 1-1
Where to find information . . . . . . . . . . . . 1-1
Online Help . . . . . . . . . . . . . . . . . . . 1-2
Printed documentation . . . . . . . . . . . . 1-3
Developer support services . . . . . . . . . . 1-3
Typographic conventions . . . . . . . . . . . . . 1-4
Chapter 4
Customizing the environment 4-1
Organizing your work area . . . . . . . . . . . . 4-1
Docking tool windows . . . . . . . . . . . . . 4-1
Arranging menus and toolbars . . . . . . . . 4-4
Customizing desktop settings . . . . . . . . . . . 4-5
Setting default project options. . . . . . . . . . . 4-5
Specifying default projects and forms . . . . . . 4-5
Setting tool preferences. . . . . . . . . . . . . . . 4-6
Customizing the Code editor . . . . . . . . . 4-6
Customizing the Form Designer. . . . . . . . 4-6
Setting Explorer options . . . . . . . . . . . . 4-6
Customizing the Component palette . . . . . . . 4-7
Arranging the Component palette. . . . . . . 4-8
Installing components . . . . . . . . . . . . . 4-8
Adding ActiveX controls . . . . . . . . . . 4-8
Creating component templates . . . . . . . . 4-8
Customizing the Help system . . . . . . . . . . . 4-9
Chapter 2
A tour of the environment 2-1
Starting Delphi . . . . . . . . . . . . . . . . . . . 2-1
Using toolbars, menus, and keyboard
shortcuts. . . . . . . . . . . . . . . . . . . . . . 2-2
Placing components on a form . . . . . . . . . . 2-3
Changing component appearance and
behavior . . . . . . . . . . . . . . . . . . . . . . 2-4
Working with events . . . . . . . . . . . . . . 2-5
Viewing and editing code . . . . . . . . . . . . . 2-5
Viewing form files . . . . . . . . . . . . . . . 2-6
Browsing with the editor . . . . . . . . . . . 2-6
Exploring code . . . . . . . . . . . . . . . . . 2-7
Managing projects . . . . . . . . . . . . . . . . . 2-7
Browsing project elements and structure . . . . 2-8
Creating to-do lists. . . . . . . . . . . . . . . . . 2-9
Designing data modules . . . . . . . . . . . . . 2-9
Setting project and environment options . . . . 2-10
Getting help . . . . . . . . . . . . . . . . . . . . 2-11
Help with coding . . . . . . . . . . . . . . . . 2-12
Class Completion . . . . . . . . . . . . . . 2-13
Debugging applications . . . . . . . . . . . . . . 2-13
Exploring databases . . . . . . . . . . . . . . . . 2-14
Templates and the Object Repository . . . . . . 2-15
Chapter 5
Programming with Delphi 5-1
Development tools and features. . . . . . . . . . 5-1
Using the VCL . . . . . . . . . . . . . . . . . . 5-1
Exception handling . . . . . . . . . . . . . 5-2
Database connectivity and utilities . . . . . . 5-3
BDE Administrator . . . . . . . . . . . . . 5-3
SQL Explorer (Database Explorer) . . . . . 5-3
Database Desktop . . . . . . . . . . . . . . 5-4
Data Dictionary . . . . . . . . . . . . . . . 5-4
Kinds of development project . . . . . . . . . . . 5-4
Applications and servers . . . . . . . . . . . . 5-4
DLLs . . . . . . . . . . . . . . . . . . . . . . . 5-4
Custom components and packages . . . . . . 5-5
Frames . . . . . . . . . . . . . . . . . . . . . . 5-5
COM and ActiveX . . . . . . . . . . . . . . . . 5-5
Type libraries . . . . . . . . . . . . . . . . . 5-6
Deploying applications. . . . . . . . . . . . . . . 5-6
Internationalizing applications . . . . . . . . . . 5-6
Chapter 3
Your first application—a brief tutorial 3-1
Starting a new application . . . . . . . . . . . . 3-1
Setting property values . . . . . . . . . . . . . . 3-2
Adding objects to the form . . . . . . . . . . . . 3-3
Connecting to a database . . . . . . . . . . . . . 3-5
Adding support for a menu and a toolbar . . . 3-6
Adding a menu. . . . . . . . . . . . . . . . . . . 3-8
Adding a toolbar . . . . . . . . . . . . . . . . . . 3-9
Displaying images . . . . . . . . . . . . . . . . . 3-10
Adding text and memo objects . . . . . . . . . . 3-12
Writing an event handler . . . . . . . . . . . . . 3-13
Index
I-1
i
ii
1
Chapter1
Introduction
This
Quick Start
provides an overview of the Delphi development environment to get
you started using the product right away. It also tells you where to look for details
about the tools and features available in Delphi.
What is Delphi?
Delphi is an object-oriented, visual programming environment for rapid application
development (RAD). Using Delphi, you can create highly efficient applications for
Microsoft
Windows 95, Windows 98, and Windows NT with a minimum of manual
coding. Delphi provides all the tools you need to develop, test, debug, and deploy
applications, including a large library of reusable components, a suite of design tools,
application and form templates, and programming wizards. These tools simplify
prototyping and shorten development time.
Where to find information
Information on Delphi is available in a variety of forms:
•Onine Help
• Printed documentation
• Inprise developer support services
• Inprise and borland.com Web sites
For information about new features in this release, refer to What’s New in Delphi? in the
online Help and to the borland.com Web site.
Introduction
1-1
Chapter
Plik z chomika:
uena78
Inne pliki z tego folderu:
kurs php.zip
(586590 KB)
Video.Kurs.PHP.i.MYSQL.PL-R3R.iso
(587104 KB)
Kurs SQL.zip
(363307 KB)
Kurs_C++_Video.part1.rar
(683593 KB)
Kurs_C++_Video.part2.rar
(683593 KB)
Inne foldery tego chomika:
- ╣█ AM 6.15 ( 1312 Finał )( PL - EU )( Gotowiec Na SD ) 25-01-2014
- ╣█ AM 6.15 ( 1312 Finał )( PL - EU )( Oryginał ) 25-01-2014
- ▧ ▍Programy PC 2014
- AutoMapa 6.11e (1212) FINAŁ EUROPA + POLSKA ( CRACKED ) 19-12-2012 ◉◉◉◉◉◉◉◉◉◉◉◉◉
- ♛ Oryginalne Obrazy WINDOWS XP 2012 ◉◉◉◉◉◉◉◉◉◉◉◉◉
Zgłoś jeśli
naruszono regulamin