Back to Computing Resources
Delphi Howtos
PURCHASING DETAILS

A Collection of Worksheets mostly
arising from A-level Computing Projects.

Examples written by
GEOFFREY LOCKWOOD

This is a collection of examples of how to do particular operations using Delphi : the full contents as at November 2007 is shown below. Most of these examples result from questions from my A2 project students "How do I do ......."; some are examples used in routine class teaching. Some of the worksheets are available for free download (a donation would be appreciated if you find them useful). The complete set is available for purchase, in a variety of formats and licensing.
SINCE I RETIRED IN 2010 I HAVE NOT ADDED ANY NEW MATERIAL - BUT THE EXISTING CONTENTS ARE STILL IDEAL FOR THOSE STARTING TO PROGRAM IN DELPHI.  I HAVE NOW REDUCED THE PRICE SIGNIFICANTLY.

Contents (see also the full index)

Introduction 1
Introduction to Delphi 2
Delphi text file handling : a text file editor 6
Files of records; stringgrids 13
Developing ADO Database applications using Delphi 21
A Pascal example : the Treesort 40
From simple structured programming to OOP : The Counter example 42
Dates and Times in Delphi / Access queries 55
Connecting an Excel Spreadsheet to Delphi using ADO 56 [pdf file 170Kb]
Object Oriented Programming - a summary 59
OOP - a worked example (Tanimal) 65
Printed output from Delphi 72
Printing Text only 72
Using a RichEdit component 75
Using Delphi's Printer.Canvas 76
Using RAVE 80
RAVE reports : Using the CalcOp component 86
Master-Detail reports in RAVE 91
Using Sections and DataMirror Sections in RAVE.
An example of processing a Boolean field 95
Implementing ADOTable relationships using a BDLookupComboBox 100
Selecting Databases and Tables at runtime using ADO 101
Using DBGrids - a miscellany 106 [pdf file 317Kb]
Executing external programs from within a Delphi program 109
Using Database tables over multiple forms: Data Modules 113
A Client-Server database system using Indy HTTP and MS Access 117
Linking Delphi to a MySQL database over a network 125
Scanning images into a Delphi Application 129
File handling: Copying files from within a program; making backups 131
Methods of displaying and selecting files and folders 135
Outputting from a Delphi program to MS Word 139
Spellchecking from within Delphi 153 [pdf file, 213Kb]
Interfacing electronically to the parallel Printer port 157
Suspending program operation temporarily 163
How do I use a case structure with strings? 165
Input via a fingerprint reader - Verifinger™ 167
How do I put an image with transparent sections onto a form? 179
Querying and filtering by dates 181
Implementing simple booking systems 185
How do I reset a DBLookupComboBox to display blank? 201
How can I send images at runtime to print in a RAVE report? 201
Rave Reports: Records from one table using lookup from another 203
Printing bookmarks in a MS Word document 207
3D graphics programming 209
Stock control application (files of Pascal records) 213
Bubblesort programs 221
How do I add a block of records / delete all records using ADO? 227
How to store images in databases using Delphi 229
Multithreading 233
Printing a DBGrid 237
How do I colour a button? 243
MS Word's spellchecker : obtaining a list of suggested spellings 245
Configuring a program at runtime: ini files 246
How do I make a login form? 251
How do I create and incorporate online help? 261
Moving objects around a form; status bars etc. 275
How do I convert units as I tab from one field to another? 279
Object Oriented Analysis to Implementation : A simple Banking example 281
Coloured lines in a listbox 289
Index 293

Back to Computing Resources page
PURCHASING INFORMATION