Register - Login   Search
Training and Guidance * Delphi Training * Delphi Component Creation

Delphi Component Creation

The Delphi Component Creation course is designed for programmers with a good working knowledge of Delphi. The course provides a comprehensive coverage of component creation essentials including Object Oriented Programming, understanding and using Packages and Windows Messages and builds on this groundwork to explore every aspect of component creation. The component examples and component exercises are based on useful components which you will want to use in your own development.

This course is hands-on with practical exercises throughout. We provide you with individual PC's so that you are able to work on your own. Class sizes are kept small so that you will receive personal attention. You will take away extensive printed and disk-based course material, which will be of ongoing use to you in your work. 

Duration

  • 5 days

Prerequisites

Working knowledge of the Windows® operating systems, and good experience in programming with Delphi.

Audience

The course is intended for advanced programmers.

Course Topics

  • Advanced Object Oriented Programming
  • Inheritance, polymorphism
  • The principle of uniform reference
  • Properties
  • Method pointers
  • Typecasting and use of the IS and AS operators
  • Class functions
  • Friend classes
  • TComponentTagproperty
  • Packages
  • Use of packages
  • The differences between Runtime and Designtime packages
  • Comparison between packages and DLL's
  • Creation of packages
  • Tips for using the PackageEditor
  • Package collections
  • Dynamically loading packages
  • Windows messages
  • Answers to common questions
  • SendMessage function
  • Contrast SendMessage with TControl.Perform
  • Compare SendMessage with PostMessage
  • Creating Components
  • Creating Components (TTopPanel)
  • Register procedure, TReadOnlyDBNavigator
  • Create Wnd procedure, Tpanel
  • TWinControl.Create Params
  • TComponent.Loaded
  • TmaleFemaleRadioButtons, TComponent, ComponentState, TMaxTextedit
  • Shortcut component layout for complex composite components
  • Creating data-aware controls
  • TComponentNotification
  • Delphi Prefix Registry Website
  • Creating Property and Component Editors
  • TpropertyEditor properties methodes
  • TpropertyEditor.GetAttributes
  • TpropertyAttributes
  • RegisterPropertyEditor
  • TSound component
  • TSoundFileNameProperty
  • TOpenDialog dialog
  • Source, ToolsAPI, DsgnIntf.pas
  • Subclasses of TPropertyEditor