Delphi Application Development

5 Day Course
Code PSD115

This course has been retired. Please view currently available Delphi Training Courses.

Modules

Hide all

Delphi Overview (16 topics)

  • Versions Of Delphi
  • Delphi Database Access
  • The Borland Database Engine (BDE)
  • dbGo
  • InterBase Express (IBX)
  • The Environment
  • The Form Designer
  • The Object Inspector
  • The Code Editor
  • Customising The Environment
  • Dragging And Docking
  • Useful Shortcut Keystrokes
  • General UI Keystrokes
  • Form Designer Keystrokes
  • Object Inspector Keystrokes
  • Editor Keystrokes

Building A User Interface (11 topics)

  • Components
  • Properties
  • Making Event Handlers
  • Naming Conventions
  • Setting Up The UI
  • Setting Up The Code
  • Online Help
  • Testing The Program
  • Menus
  • Exceptions - Don't Panic
  • Where To Find Help

Types, Constants And Variables (3 topics)

  • Simple Types
  • Constants And Variables
  • More Complex Types

Structure Of A Delphi Program (5 topics)

  • The Project File (.DPR)
  • Pascal Unit (.PAS)
  • Moving Projects To Other Locations
  • Files Generated By A Delphi Project
  • The Structure Of A Delphi Unit

Subroutines (4 topics)

  • Procedures And Functions
  • Overloaded Subroutines
  • Default Parameter Values
  • Parameter Passing Conventions

IDE Facilities (5 topics)

  • Project Desktops
  • Global Desktops
  • Component Templates
  • Frames
  • To Do Lists

Database Access With The BDE or ADO (11 topics)

  • Tables, Data Sources And Data-Aware Controls
  • Connecting To SQL Databases
  • Master-Detail Relationships
  • Programming With TTable Components
  • Field Access
  • Searching For Data
  • Bookmarks And Scanning Records
  • Calculated Fields
  • Parameterised SQL
  • Nested Queries
  • Database Connections and Transactions

Exception Handling (14 topics)

  • What The Debugger Does By Default
  • What Are Exceptions?
  • Looking For An Exception To Handle
  • Trapping Exceptions With try/except Statements
  • Differentiating Between Exceptions
  • Chaining Back To The Old Exception Handler
  • Raising Exceptions
  • Dataset Validation Through Exceptions
  • Creating Custom Exception Types
  • Silent Exceptions
  • Disabling The IDE's Interest In Exceptions
  • Application Level Exception Handling
  • TApplicationEvents
  • Trapping Specific BDE Errors

Resource Protection (2 topics)

  • Exceptions And Resource Leaks
  • try/finally Statements

The Delegation Model (3 topics)

  • The Sender Parameter Of Many Event Handlers
  • Typecasting (Safe and Unsafe)
  • The Tag Property

Dynamic Object Creation (13 topics)

  • Creating Component Objects
  • Component Ownership
  • Locating A Component's Implementation Unit
  • Displaying Visual Components
  • Setting Up Event Handlers
  • Events Are Properties
  • Explicitly Destroying Objects And Components
  • Component Names
  • Object Creation Summary
  • Creating Non-Component Objects
  • Accessing INI Files With TIniFile
  • Accessing The Win32 Registry With TRegIniFil

Object Oriented Programming Concepts (21 topics)

  • Encapsulation
  • Inheritance
  • Polymorphism
  • Compiler Specifics
  • Putting It Into Practice
  • Data Hiding
  • Private Members Of A Class
  • Protected Members Of A Class
  • Public Members Of A Class
  • Published Members Of A Class
  • Properties
  • Defining Classes
  • Code Templates
  • Abstract Methods
  • Class Completion
  • Module Navigation
  • Implementing Inherited Classes
  • Instigating Polymorphism
  • What Polymorphism Means To The Compiler
  • Building A Test Harness For The Objects
  • Constructors And Destructors

Using Delphi (8 topics)

  • Breakpoints
  • Breakpoints With Conditions And Pass Counts
  • Watch Expressions
  • Tooltip Expression Evaluation
  • Debug Inspectors
  • What If? Scenarios
  • Program Execution
  • Call Stack

Prerequisites

Delegates should have some experience of programming.

Sections