Delphi Professional Fundamentals

3 Day Course
Hands On
Code PSD170

Book Now - 1 Delivery Method Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online

Overview

This course provides the foundations that are essential if you are to become a productive developer of Windows (Win 32) applications with Delphi. It is based on the Professional edition of the product and covers the Delphi development environment, the principles of object oriented programming with the Object Pascal language, windows components and the Delphi Visual Component library. If you will be developing database applications, then you should plan to follow this course with our 2-day Delphi Database Fundamentals course covering the fundamental topics and techniques specific to the development of database applications.

This is an intensive, hands-on, classroom course with a large practical content that reinforces the learning process in a supportive environment. Emphasis is placed on understanding the concepts involved, as well as learning the details of syntax. Comprehensive course notes and a copy of the student project files are provided to assist the transfer of skills to the workplace.

Objectives

After this course students will be able to develop Delphi applications that use data stored in database tables and, in particular, will:

  • Understand the basics of SQL
  • Know how to build a well designed user interface for database applications
  • Know how to create and use data modules
  • Know how to create and use persistent field objects
  • Understand and know how to use the Table, Query and Database / Connection components
  • Understand and know how to use the TClientDataset and TDatasetProvider components
  • Understand how to use the Delphi database utilities.

Modules

Collapse all

Introduction to Delphi (2 topics)

  • Delphi architecture overview
  • Delphi editions, third party components

Delphi Programming Environment (9 topics)

  • Forms, component palette, object inspector
  • Using the forms designer
  • Configuring the IDE
  • Using the integrated Help system
  • Code editor, code completion, short cut keys
  • Using the code explorer, bookmarks
  • Using the object tree view
  • Component naming conventions
  • Using the integrated debugger

Managing Projects (3 topics)

  • Project, unit and form files
  • Using the project manager, project groups
  • Using the object repository

The Visual Component Library (VCL) (4 topics)

  • Using components from the palette
  • Visual and non visual components
  • Component properties, methods and events
  • The component hierarchy

Creating Windows Applications (4 topics)

  • Windows controls, forms and menus
  • Controlling the tab order
  • Modal and non-modal forms
  • Tabbed notebooks and TPageControl

Working with Object Pascal (8 topics)

  • Basic syntax, conventions and data types
  • Variables and constants
  • Assignment, iteration and selection statements
  • Writing and re-using event handlers
  • Structure of a code unit
  • Defining and calling procedures/functions
  • Passing parameters to procedures/functions
  • Unit scoping / visibility of identifiers

Basics of Object Oriented Programming (7 topics)

  • Hierarchy, inheritance and encapsulation
  • Polymorphism
  • Defining a class and creating objects
  • Fields and properties
  • Writing class methods
  • Auto created forms
  • Creating form and component objects at runtime

Exception Handling (5 topics)

  • Exceptions in an event driven environment
  • Try..except and try..finally
  • Using the exception object
  • Raising exceptions, silent exceptions
  • Creating custom exceptions

Using the Global Objects (6 topics)

  • Using the application object
  • Useful properties and methods
  • Writing event handlers
  • Working with hints
  • The default exception handler
  • Using the Screen Object, controlling cursors

Prerequisites

This course has been designed for new users of Delphi. Students should have experience of developing computer applications using a procedural language, and of working in the Windows environment as a user. Experience of developing applications for Windows with other languages, while helpful, is not required in order to obtain full benefit from the course.

Course PDF

Print

Share this Course

Share

Recommend this Course

Sections