1. Home
  2. Computing & Technology
  3. Delphi Programming

OOP in Delphi

Object Oriented programming in Delphi. Information on classes, objects, RTTI etc.

Don't Check For Assigned - Ensure Your Nil Delphi Objects Return Prop…

Return a Property Value From a Nil Delphi Object Wthout an Access Violation

Using Interfaces in Delphi programming?

Most Delphi developers when they think of interfaces they think of COM programming. However, interfaces are just an OOP feature of the language - they are not tied to COM specifically. Interfaces can be defined and implemented in a Delphi application without touching COM at all. Have you ever created (and implemented) your own interface and? Why? Share with us some real-world examples in usin…

Interfaces in Delphi Programming 101

If you are up to creating a rock solid (OOP driven) Delphi application in a way that your code is maintainable, reusable, and flexible the OOP nature of Delphi will help you drive the first 70% of your route. Defining interfaces and implementing them will help with the remaining 30%.

Understanding and Preventing Memory Leaks in Delphi Applications

"Any given program will expand to fill all the available memory!" Is Murphy right? This article provides some common pitfalls and best practices for writing non - memory leaking Delphi code.

Using RTTI in Delphi

Delphi provided Runtime Type Information (RTTI) more than a decade ago. Yet even today many developers aren't fully aware of its risks and benefits. This article provides an overview of the RTTI usage in Delphi for Win32.

Class Methods

Class procedures/functions. What they are and how to find a practical use for them.

Owner and Parent

The differences between a component Owner and its Parent - briefly explained.

Design Patterns in Delphi

Exploring design patterns in real programming, focusing on implementation issues in Delphi.

Simulating multicast events in Win32 Delphi

In Win32 Delphi OOP, only one method can be assigned as a handler to a component's event. In Delphi for .Net, multiple event handlers can be bound to the same event. Let's see how to build a Win32 Delphi object that maintains a list of the methods its event(s) is handled by - thus creating a simulation of multicast event handling.

Simulating class properties in (Win32) Delphi

A class property is a property you can access without actually creating an instance of a class. While (Win32) Delphi enables you to create class (static) methods (function or procedure), you cannot mark a property of a class to be a class (static) property. False. You can! Let's see how to simulate class properties using typed constants.

Hello, my name is Button1

"The name of a component plays a fundamental role in Delphi, but some of the features behind this property are far from well-known."

Introduction to Refactoring

Refactoring is the art of transforming existing code to make it more maintainable and reliable without changing functionality. The techniques used also encapsulate programming best practices. We examine some of the more useful methods

Models, Views and Frames

The text includes wizard and property sheet frameworks that can share view forms. It also discusses Delphi's interface and Assert features.
Explore Delphi Programming
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. OOP in Delphi

©2010 About.com, a part of The New York Times Company.

All rights reserved.