home - about us - contact us

DL240: Delphi Component Creation


Chapter 01. Object-Oriented Programming for Component Writers
  Object-Oriented Programming
     Abstraction
     Encapsulation
     Inheritance
     Polymorphism
 
   OOP and Delphi
     Classes vs Objects
     Constructors and Destructors
     Inheritance

  Class Scoping
     Private
     Protected
     Public
     Published

  Method Modifiers
    Static
     Virtual
     Dynamic
     Method Overloading

  The Object Browser
  Run-time Component Creation
     Calling the Constructor
     Setting the Parent and Other Properties
     Testing Un-installed Components

  Summary
  Review Questions and Exercise
     Questions
     Exercise
   

Chapter 02. Designing Component Classes
  Overview
  Types of Custom Components
  Components as Classes
  Creating a Simple Component, Step-by-Step
     Using the Component Expert to create a Skeleton
     Override the Class's Constructor
     Implement your Constructor
     Install Your Component
  Case Study: The Custom DBNavigator
  Component Bitmaps
  Summary
  Review Questions and Exercise
     Questions
     Exercise
   
Chapter 03. Object Wrapping
  Creating Properties
     Get/Set Routines
     Default Values
  Case Study: The Random Number Component
     TRandom Number
     Complete Source for TRandom Number
  Summary
  Review Questions and Exercise
     Questions
     Exercise
    
Chapter 04. Adding Default Behaviour to Buttons
  Delphi's Event Firing Architecture
  Cast Study: Custom Button
  Case Study: The Unfolding Dialog Box Button
     TUnfoldingDialog Button
     Complete Source Code for TUnfoldingDialog
  Summary
  Review Questions and Exercise
     Questions
     Exercise
    
Chapter 05. Components that own other Components
  Construction/Deconstruction Issues
  Case Study: The ClockPanel Bar
     TClockPanel
     Complete Source Code for TClockPanel
  Summary
  Review Questions and Exercise
     Questions
     Exercise

   
Chapter 06. Application Management Components
  Components that Encapsulat "Dirty Work"
  Case Study: Application Configuration Component
  Complete Source for TConfiguration
  Summary
  Review Questions and Exercise
     Questions
     Exercise


Chapter 07. Components that refer to other Components
  Notification
  Case Study: The Visual Component Table
     Complete Source for the TVisual Table
  Summary
  Review Questions and Exercise
     Questions
     Exercise


Chapter 08. Dialog Box Components
  Encapsulating forms in Components
  Case Study: The Calendar Component
     Complete Source Code for TCalendarDialog
  Case Study: The Generic Search Dialog
     Complete Source Code for TSearchDialog
  Summary
  Review Questions and Exercise
     Questions
     Exercise

 

Chapter 09. Read-Only Data Aware Components
  Creating an Owned Datalink Object
  Handling Datalink's OnDataChange Event Handler
  Case Study: DBCalendar
     Complete Source Code for TDBCalendar
   Summary
  Review Questions and Exercise
     Questions
     Exercise

 
Chapter 10. Windows Messages
  Windows Messages
     Windows and Messages
  Custom and Component Messages
  "Wiring" Procedures to Messages
  Case Study: TBroadcastTable and TReceptionDBEdit
     TBroadcastTable
     TReceptionDBEdit
     Visual Table vs. Broadcast Table
     Complete Source Code for TBroadcastTable and TReceptionDBEdit
  Summary
  Review Questions and Exercise
     Questions
     Exercise

  
Chapter 11. Adding Events
  Event Handlers
  Exposing Existing Events
     Standard Events for All Controls
     Standard Events for Standard Controls
     Case Study: ClickShape
     Complete Source Code for TClickShape
  Creating New Events
     Case Study: ClockPanelEv
     Complete Source Code for TClockPanelEv
  Summary
  Review Questions and Exercise
     Questions
     Exercise

 
Chapter 12. Advanced Component Containership
  Wizards
  Case Study: Wizard Panel
  Complete Source for TWizardPanel
  Summary
  Review Questions and Exercise
     Questions
     Exercise

 
Chapter 13. Updateable Data Aware Controls
  Creating Updateable Data-Aware Controls
  Complete Source for TDateTimePicker
  Summary
  Review Questions and Exercise
     Questions
     Exercise

 
Chapter 14. Object Inspector Based Property Editors
  Design-Time Interface VS. Run-time Interface
     Property Editor Classes
  Case Study: The DateTimePanel Property Editor
     Complete Source Code for TDateTimePanel
  Case Study: Generic Search Dialog Property Editor
     TSearchDialogPE an TFieldToSearchProperty
     Complete Source Code for TSearchDialogPE
  Summary
  Review Questions and Exercise
     Questions
     Exercise

  
Chapter 15. Property Editors: Dialog BAsed
  Encapsulating Property Editor Forms
  Case Study: The DateTimePanelDialogPE Dialog Property Editor
  Complete Source Code for TDateTimePanelDialogPE
  Summary
  Review Questions and Exercise
     Questions
     Exercise

  
Chapter 16. Component Editors
  Component Editors
  Case Study: ClickShapeCE
  Complete Source Code for TClickShapeCE
  Summary
  Review Questions and Exercise
     Questions
     Exercise

 
Chapter 17. Chaining events
  Technique
  Case Study:Form Based Exception Handling
  Complete Source Code for TFormExceptionHandler
  Summary
  Review Questions and Exercise
     Questions
     Exercise

    
Chapter 18. ActiveX Controls
  Creating ActiveX Controls
  Installing ActiveX Controls
  Summary
  Review Questions and Exercise
     Questions
     Exercise

Back to main course page

Top Headlines

 


 

home - about us - contact us