rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781598220032

INSIDE DELPHI 2006 (W/CD)

by
  • ISBN13:

    9781598220032

  • ISBN10:

    1598220039

  • Edition: CD
  • Format: Paperback
  • Copyright: 2005-12-14
  • Publisher: Jones & Bartlett Learning
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $52.95 Save up to $0.05
  • Buy New
    $52.90
    Add to Cart Free Shipping Icon Free Shipping

    PRINT ON DEMAND: 2-4 WEEKS. THIS ITEM CANNOT BE CANCELLED OR RETURNED.

Summary

Starting with a detailed description of Delphi and C++ languages, this book covers the essential topics such as conditions, loops, strings and arrays, procedures and functions, file I/O, and pointers and gives an introduction to OOP before venturing into the world of VCL. The book then shows how to build applications using the VCL framework. The majority of the material is presented in Delphi language, which makes the material automatically Win32 and .NET compatible, but it doesn't forget C++ developers, also showing how to build VCL applications using the C++ language. The third part of the book covers various component building topics -- how to build new components from scratch, customize existing components, and create advanced components. Finally, the book covers .NET programming and shows how to build both VCL.NET and pure .NET applications using Delphi for .NET, as well as how to build .NET applications using the C# language. Level:Beginner, intermediate and advanced. Book & CD.

Table of Contents

Acknowledgments xvii
Introduction xix
Getting Started with Delphi
1(10)
The Delphi IDE
1(5)
Elements of the Delphi IDE
2(4)
Creating a Console Application
6(5)
Creating a New Project
6(1)
Project Files
7(2)
Compiling Projects
9(2)
Delphi and C++ Language Basics
11(34)
Structure of a Delphi Application
11(4)
Reserved Words
12(1)
Comments
13(1)
Compiler Directives
14(1)
Basic Output
15(3)
The WriteLn Statement
15(2)
The Write Statement
17(1)
Data Types
18(3)
String Data Types
19(1)
Integer and Real Data Types
19(1)
Character and Boolean Types
20(1)
Variables
21(3)
Declaring Variables
21(1)
Identifiers
22(1)
The Assignment Operator
23(1)
Arithmetic Operators and Expressions
24(2)
Binary Arithmetic Operators
24(1)
Unary Arithmetic Operators
25(1)
Expressions
25(1)
Constants
26(1)
Basic Input
26(2)
C++ Language Basics
28(17)
C/C++ Project Files
29(2)
The Structure of a C/C++ Console Application
31(4)
Standard C Output with printf
35(1)
Standard C++ Output with cout
36(1)
Fundamental Data Types
37(1)
Variables
38(2)
Assignment Operators
40(1)
Arithmetic Operators
41(2)
Constants
43(1)
Standard C++ Input with cin
43(2)
Conditions
45(26)
The if-then Statement
45(3)
The if-then-else Statement
48(2)
Using Code Templates
49(1)
Nested if-then Statements
50(1)
Multiple if-then Condition Testing
51(1)
Boolean and Bitwise Operators
52(5)
The not Operator
52(2)
The and Operator
54(1)
The or Operator
55(1)
The xor Operator
56(1)
The shr and shl Operators
56(1)
Boolean Evaluation
57(1)
The case Statement
58(3)
Simple case Statements
59(1)
Value Ranges
60(1)
Value Lists
60(1)
Case Statement Comparison
61(1)
The case-else Statement
61(2)
C++ Conditions
63(8)
The if Statement
63(1)
The if-else Statement
64(1)
Nested and Multiple if Statements
65(1)
The Conditional (Ternary) Operator
66(1)
Logical (Boolean) and Bitwise Operators
67(1)
The switch Statement
68(3)
Iterations
71(18)
The for Loop
71(7)
The for-downto Loop
76(1)
The for-in Loop
77(1)
The while Loop
78(1)
The repeat-until Loop
79(1)
Controlling Loop Execution
80(3)
Infinite Loops
81(2)
C++ Loops
83(6)
The while Loop
83(1)
The do-while Loop
83(1)
The for Loop
84(5)
Procedures and Functions
89(46)
Using Procedures
89(2)
Using Functions
91(4)
Typecasting in Delphi
92(2)
Typecasting in C++
94(1)
Creating Procedures
95(2)
Creating Functions
97(2)
Short-circuit Evaluation
97(2)
Creating Units
99(5)
Using Units
100(2)
Adding Code to the Unit
102(2)
Local and Global Variables
104(2)
Parameters
106(5)
Variable, Constant, and Out Parameters
107(2)
Multiple Parameters
109(1)
Default Parameters
109(2)
Recursive Procedures and Functions
111(2)
Forward Declarations
113(1)
Overloading
114(2)
The Inline Directive
116(4)
Conditional Compilation
120(1)
Functions in C++
121(14)
Parameters
122(4)
Function Prototypes
126(1)
Local, Global, and Static Local Variables
127(3)
Function Overloading and Inlining
130(1)
Units
131(2)
Static Global Variables and Static Functions
133(2)
Arrays and Strings
135(30)
Arrays
135(5)
Array Constants
138(2)
Multidimensional Arrays
140(1)
Dynamic Arrays
141(3)
Array and Open Array Parameters
144(3)
Strings
147(2)
String Handling
149(6)
Searching
149(2)
Inserting
151(1)
Deleting
152(1)
Copying
152(2)
Converting
154(1)
Arrays in C++
155(5)
Initializing Arrays
155(2)
Multidimensional Arrays
157(3)
C++ Strings
160(5)
Initializing Strings
161(1)
Assigning Values to Strings
162(1)
String Related Functions
162(3)
User-Defined Types
165(10)
Enumerated Types
165(1)
Subrange Types
166(1)
Sets
166(2)
Working with Sets
167(1)
Set Membership
167(1)
Records
168(3)
Reserved Word with
169(1)
Passing Records to Procedures
170(1)
User-Defined Types in C++
171(4)
Enumerations
171(1)
Structures
172(3)
Basic File I/O
175(12)
Working with Text Files
175(6)
Writing to a Text File
175(1)
Reading from a Text File
176(1)
I/O Errors
177(1)
Working with the Entire File
178(2)
Loading the Text File into a Dynamic Array
180(1)
Working with Typed Files
181(3)
Working with Untyped Files
184(3)
Pointers
187(16)
Declaring Pointers
187(1)
Initializing Pointers
187(1)
Using Typed Pointers
188(1)
The Pointer Type
188(2)
Dynamic Variables
190(1)
Strings and Dynamic Arrays
190(1)
Working with Blocks of Memory
191(2)
Accessing Array Elements
193(2)
Accessing String Characters
195(1)
Record Pointers
195(1)
Pointers in C++
196(7)
void Pointers
197(1)
Accessing Array Elements
198(1)
Pointers to Structures
199(1)
Dynamic Variables
200(1)
Dynamic Arrays
200(1)
Strings (Dynamic Character Arrays)
201(2)
Object-Oriented Programming
203(20)
Encapsulation
203(7)
Creating a New Class
205(2)
Adding Methods to the Class
207(1)
The Self Pointer
208(1)
Using the Class
208(1)
Moving the Class to a Unit
209(1)
Inheritance
210(2)
Polymorphism
212(1)
Object-Oriented Programming in C++
213(5)
Adding Methods to the Class
214(1)
The this Pointer
215(1)
Inline Methods
216(1)
Moving the Class to a Unit
216(1)
Inheritance
217(1)
The AnsiString Class
218(2)
Basic File I/O in C++
220(3)
Writing Text to a File
220(1)
Reading Text from a File
221(2)
Designing the User Interface
223(24)
Creating a VCL Forms Application
223(5)
The Main Form
226(2)
Working with VCL Components
228(3)
Standard Components and Properties
231(1)
Responding to Events
231(5)
Responding to the OnClick Event
233(1)
Removing Event Handlers
234(2)
Grouping Components
236(3)
Parent and Owner Properties
237(2)
Aligning and Anchoring
239(1)
C++ Builder VCL Forms Applications
240(4)
Project Files
240(2)
Building a Simple VCL Forms Application
242(1)
The C++ Builder Reverse String Application
243(1)
Runtime Packages
244(3)
Using Forms
247(30)
Form Fundamentals
247(10)
Control Focus
247(1)
Alpha Blending
248(1)
Form Style
249(5)
Useful Events
254(3)
Dynamic Component Creation
257(5)
Event Handlers and Dynamically Created Components
258(2)
C++ Dynamic Component Creation
260(1)
Event Handlers and Dynamically Created Components in C++
261(1)
Applications with Multiple Forms
262(8)
Displaying the Form
263(1)
The Global Application Object
264(2)
Creating Modal Forms
266(2)
Creating Modal Forms in C++
268(1)
Creating Modeless Forms
268(2)
Designing Dialog Boxes
270(3)
Creating Splash Screens
273(4)
Delphi and C++ Exception Handling
277(18)
Exceptions and Exception Handling
277(12)
Handling Specific Exceptions in Delphi
279(2)
Handling Specific Exceptions in C++
281(1)
Reraising Exceptions
282(1)
Raising Exceptions
283(2)
Using the Exception Object
285(1)
Creating Custom Exceptions in Delphi
286(1)
Creating Custom Exceptions in C++
287(2)
Securing Resource Allocations
289(3)
Changing the Default Exception Handler
292(3)
Using Components
295(26)
The TCheckBox Component
295(5)
The FindComponent Method
296(2)
The Delphi is Operator and C++ Dynamic Casting
298(2)
The TRadioButton Component
300(5)
C++ Builder Sets
301(2)
The Sender Parameter
303(1)
The Tag Property
304(1)
The TListBox Component
305(11)
The Assign Method
306(1)
Selecting Multiple Items
307(3)
The BeginUpdate and EndUpdate Methods
310(1)
The IndexOf Method
311(1)
The Names and Values Properties
312(4)
The TComboBox Component
316(1)
The TRadioGroup Component
317(1)
The TScrollBar Component
318(3)
Standard VCL Components
321(22)
Creating and Using Menus
321(7)
Displaying Hints
324(2)
The TPopupMenu Component
326(1)
The TImageList Component
327(1)
Common Dialog Controls
328(4)
The TColorDialog Component
329(1)
The TFontDialog Component
330(1)
The TOpenDialog and TSaveDialog Components
330(2)
The TMemo Component
332(3)
Actions
335(8)
Standard Actions
341(2)
Building a Text Editor
343(24)
The File Menu
345(8)
Loading Documents
345(2)
Saving Documents
347(2)
Creating New Documents
349(1)
Protecting User Data
350(3)
The Edit Menu
353(9)
Undo
353(1)
Cutting and Copying to the Clipboard
354(1)
Pasting from the Clipboard
355(1)
Deleting
356(1)
Selecting the Entire Document
356(1)
Searching for Text in Delphi
357(2)
Searching for Text in C++
359(1)
Replacing Text
360(2)
The Format Menu
362(1)
Displaying Hints and Status
363(1)
The Toolbar
364(3)
The Multiple Document Interface
367(12)
MDI Image Viewer
368(6)
Creating Child Forms
370(2)
Managing Child Forms
372(2)
Inverting Colors
374(5)
Inverting Colors in C++
375(1)
Namespaces
376(2)
Invert Colors Implementation
378(1)
Working with Files
379(12)
Searching for Files
379(4)
Enumerating Available Drives
381(2)
INI Files and the Registry
383(8)
The TIniFile Class
383(2)
The TRegistry Class
385(3)
The TFileStream Class
388(3)
Desktop Database Programming
391(18)
The TClientDataSet Component
391(3)
The DVD Catalog Application
394(15)
Defining the Structure of the TClientDataSet
394(1)
Creating the Application's User Interface
395(1)
Utility Methods
396(2)
Creating Actions and Menus
398(2)
Adding Records
400(2)
Searching for Records
402(1)
Deleting Records
403(1)
Filtering
404(1)
Accepting and Discarding Changes
405(4)
Advanced Development Topics
409(26)
VCL Drag and Drop
409(7)
Instantiating Controls
411(1)
Utilizing Polymorphism
411(1)
Class References (Metaclasses)
412(2)
Drag and Drop between TListBox Components
414(1)
BeginDrag and EndDrag Methods
415(1)
Using Class References in C++
416(3)
Instantiating Class References
417(1)
Implementing Drag and Drop
418(1)
Using and Creating Messages
419(9)
Handling Messages
420(4)
Handling Messages in C++
424(2)
Creating Custom Messages
426(2)
Drag and Drop from the Explorer
428(3)
The TPageControl Component
431(4)
Dynamic Link Libraries
435(24)
Creating a DLL
436(2)
Static Loading
438(3)
Dynamic Loading
441(5)
Passing Strings between the Application and the DLL
446(4)
Creating C++ DLLs
450(9)
Exporting Functions
451(1)
Creating a DLL Header File
452(1)
Static Loading (Static Linking)
453(2)
The DllEntryPoint (DllMain) Function
455(1)
The DllEntryPoint Function in a Delphi DLL
455(1)
Dynamic Loading in C++
456(3)
Graphics Programming
459(34)
Using Colors
459(1)
The Canvas
460(20)
The Pen
461(3)
The Brush
464(1)
Drawing Text
465(5)
Measuring Text
470(1)
Using API Functions to Retrieve a Drawing Surface
471(2)
The OnPaint Event
473(7)
Bitmap Images
480(2)
Simple Animation
482(11)
Drawing Snow
483(3)
Drawing on the Desktop
486(7)
Creating Win32 API Applications
493(22)
Creating an API Application
493(8)
Defining and Registering the Window Class
495(2)
Creating and Displaying the Main Window
497(1)
Entering the Message Loop
498(1)
The Window Procedure
499(1)
The Entire Application
500(1)
Working with Child Controls
501(11)
Creating the Main Menu
502(1)
Creating Buttons
503(1)
Handling the WM_COMMAND Message
504(1)
Displaying the Open Dialog Box
504(2)
Extracting Icons
506(1)
Handling the WM_PAINT message
507(1)
The Icon Viewer Application
508(3)
Custom Application Icon and the Manifest File
511(1)
C++ Generic Applications
512(3)
Component Development Essentials
515(36)
Ancestor Classes
516(1)
Creating a New Component
517(4)
Creating Properties
521(5)
Visibility of Class Fields
521(1)
Simple Properties
522(2)
Boolean and Enumerated Properties
524(1)
Set Properties
525(1)
Default Property Values
526(1)
Methods
527(5)
Property Access Methods
532(4)
Creating Events
536(2)
Object Properties
538(3)
Creating the Component's Tool Palette Icon
541(2)
Grouping Related Properties
543(2)
Building VCL Components with C++Builder
545(6)
Creating Properties
547(1)
Methods and Events
548(1)
Object Properties
549(2)
Customizing Existing Components
551(12)
Creating a Custom Form
551(5)
TRichEdit Descendant
556(7)
Creating the Resource-Only DLL
556(2)
Creating the TResRichEdit Component
558(5)
Advanced Component Programming
563(26)
Custom List Control
564(13)
Creating Array Properties
570(2)
Sharing Property Access Methods
572(2)
Default Array Properties
574(1)
Publishing Inherited Properties
574(1)
Drawing Items
575(2)
The TImageCache Component
577(12)
The TList Class
577(1)
Creating the TImageCache Component
578(3)
Saving and Loading Images
581(3)
Final Touches
584(2)
Testing the Component
586(3)
Printing, Creating PDF Documents, and Refactoring
589(50)
AssignPrn Printing
589(1)
TRichEdit Printing
590(1)
Printer Settings and the TPageSetupDialog Component
591(1)
The TPrinter Class
592(3)
The TTextPrinter Component
595(14)
Measurement System and Resolution
597(1)
Margins and Units Properties
598(4)
Syntax Highlighting Utility Functions
602(1)
Printing
603(3)
Final Touches
606(3)
Refactoring the TTextPrinter Component
609(5)
Renaming Symbols
609(1)
Sync Edit
610(1)
Extracting Resource Strings
611(1)
Extracting Methods
612(2)
Creating PDF Documents
614(25)
Document Structure
614(3)
Creating the TPDFExport Component
617(2)
Utility Methods and the Document Header
619(2)
Indirect Objects
621(1)
Document Information Dictionary
622(2)
Creating the Font Object
624(2)
The Resource Dictionary
626(1)
Preparing Strings for Output
627(2)
Generating Page Contents (Content Streams)
629(4)
Creating the Page Tree and the Page Objects
633(1)
Creating the Document Catalog
634(1)
The Cross-Reference Table and the File Trailer
635(2)
Testing the Component
637(2)
Image Processing
639(18)
The Canvas.Pixels Property
641(3)
Inverting Colors
641(1)
The Solarize Effect
642(2)
The ScanLine Property
644(7)
Converting the Image to Grayscale
648(1)
Adjusting Brightness
649(2)
The TImageListEx Component
651(6)
Using the TImageListEx Component
654(3)
.NET Framework Programming
657(38)
Overview of the .NET Platform
657(3)
The Common Language Runtime
657(1)
The .NET Framework Class Library
658(1)
The VCL.NET Framework
659(1)
C# and Delphi for .NET Languages
660(23)
C# Essentials (Variables, Constants, and Casting)
664(1)
Value and Reference Types
665(2)
Conditions
667(1)
Arrays and Loops
668(3)
Methods
671(9)
Enumerations
680(1)
Exception Handling
681(2)
The System.IO Namespace
683(3)
VCL.NET and Windows.Forms
686(9)
Windows.Forms Application's Entry Point
690(1)
Multicast Events
690(2)
Creating Windows.Forms Controls Dynamically
692(1)
Windows Forms MDI Essentials
693(2)
Advanced Win32 and .NET Programming
695(34)
Adding for-in Enumeration Functionality to a Delphi Class
695(5)
Adding foreach Enumeration Functionality to a C# Class
700(4)
Records
704(3)
Operator Overloading in Delphi and C#
707(3)
C# Indexers
710(2)
Delegates and Single-cast and Multicast Events
712(11)
Delegates and Single-Cast Events in Delphi for Win32
712(4)
Delegates and Multicast Events in Delphi for .NET
716(1)
Delegates and Events in C#
717(6)
GDI+ Programming
723(6)
Index 729

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program