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

New OOP Features in Delphi

Delphi programming language is packed with features to help you make robust OOP style applications. If you are still using Delphi 7 (and prior) you might be missing some really nice language constructs.

Dive into new advanced features!

Delphi Programming Spotlight10

Receive Windows Messages In Your Custom Delphi Class - NonWindowed Control

Tuesday January 11, 2011
in Windows Messages :: Windows messages are a key ingredient in communication between Windows and (your) applications and also in communication between (two) applications. For an application to receive a Window message, the application must provide a "window" a message will be sent to. What is you do NOT have a window to receive a message? What if you want to handle messages in your custom class derived from TObject?

Read the full article to learn how to Receive and Handle Windows Messages In Your Custom Delphi Class - NonWindowed Control

Related:

Overloading Delphi's ShowMessage to accept Integer, Boolean, Float, ...

Thursday January 6, 2011
in Delphi TIPS :: Delphi's ShowMessage procedure, defined in the dialogs.pas unit, displays a message in a dialog box, waits for the user to click an OK button.

I'm using the ShowMessage procedure frequently while developing applications as a "debugging" tool to display values of various variables, properties, function results.

A downside of the ShowMessage is that it only accepts a string parameter - where variables tend to be integers, bools, floats, etc. :)

Read the full article to learn how to Overload ShowMessage to accept Integer, Boolean, Float, ...

Related:

Get The Name Of The Windows OS Installed on a Machine

Tuesday January 4, 2011
in OLE Examples :: Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can use Delphi to communicate with WMI by using a variety of interfaces. All the WMI interfaces are based on the Component Object Model (COM).

Read the full article to learn how to Exploit Win32_OperatingSystem WMI class to get the name of the installed Windows OS.

Related:

Add a Standard Context (popup) Menu to Delphi's TRichEdit

Monday January 3, 2011
in TRichEdit :: Delphi's implementation of the rich editor control (TRichEdit) does *not* expose the default context popup menu when the rich edit is right-clicked.

Read the full article to learn how to Implement Add a Standard Context (popup) Menu to Delphi's TRichEdit

Related:

Discuss in my Forum

About.com Special Features

How to Buy a PC for Less

You don't have to break the bank on a new computer. Find out how to save on your next PC. More

Sound Off in Our Readers' Choice Awards

Now is the time to nominate your favorite products and services in dozens of categories, from tech to fashion to hobbies. More

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

©2011 About.com. All rights reserved.

A part of The New York Times Company.