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

Delphi Drawing Snowflakes on Your Desktop Screen

Snowflakes

It's time for a little winter joy! Amaze your co-workers: *Snowflakes* application randomly draws and moves snowflake images over your Desktop screen.

DBGrid to the Max

Zarko's Delphi Programming Blog

Implementing MultiCast Events for Win32 Delphi's TDataset and TField descendants

Monday December 28, 2009

in Delphi DB ::
When creating database applications in Win32 Delphi you might find the multicast idea useful - to have more than one procedure execute when the OnAfterScroll event fires for the TDataset descendant, for example. The "TMultiDsEvent" class enables you to add multicast event handlers feature TDataSet and TField descendants.

Read the full article to learn how to Implement MultiCast Events for Win32 Delphi's TDataset and TField descendants.

Related:

IsDirectoryEmpty - Delphi function to Determine if a Directory is Empty (no files, no sub-folders)

Thursday December 24, 2009

in Delphi TIPS :: Delphi does not provide any "ready made" RTL function to test if a given directory (folder) is empty, i.e. contains no files or sub-folders. The IsDirectoryEmpty function provides the answer.

Read the full article to learn how to check if a directory is empty

Related:

Format XML Data using Delphi - Properly Indent TXMLDocument XML Tags Without doNodeAutoIndent

Tuesday December 22, 2009

in TXmlDocument :: When using the TXMLDocument to create XML documents you might receive a nasty EOleException: This operation can not be performed with a Node of type PCDATA.

If you want the resulting XML to look "pretty" - so that each element node appears on its own line, indented appropriately to reflect its nesting in the node hierarchy, you might be adding the doNodeAutoIndent flag in the Options property of the TXMLDocument instance.

Read the full article to learn how to Fix the "This operation can not be performed with a Node of type PCDATA" when using doNodeAutoIndent

Related:

How to Override Delphi Form's Restore Operation?

Monday December 21, 2009

in Delphi TIPS :: The WM_SYSCOMAND can be used to trap the restore window operation. When the form is maximized the "Maximize" button changes its look and operation. Clicking the restore button restores the window to its previous (normal, before it was maximized) position and size. By overriding (changing) the default "restore" action, you can for example, create a Delphi form that can be only mimimized or maximized.

Read the full article to learn How to Override Delphi Form's Restore Operation?

Related:

Explore Delphi Programming
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. 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

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

All rights reserved.