Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming
photo of Zarko Gajic

Zarko's Delphi Programming Blog

By Zarko Gajic, About.com Guide to Delphi Programming since 1998

Delphi Project: Windows Start-Up Manager. Sources Included.

Friday July 10, 2009
Source Code Projects :: Have you ever asked yourself where are those applications that seem to be executed when Windows start, you cannot find in the Start - StartUp Windows menu? Or, how a virus can start itself each time you reboot? Or, who started all those applications you see in the System Tray?

Here's how to build a program (using Delphi) that allows a user to control which applications will run when Windows starts up. Full source code (heavily documented) included.

Read the full article to learn how to Create a Windows Start-Up Manager using Delphi

Related:

Create a Resizable Delphi Form with No Border

Thursday July 9, 2009
TIPS :: By default, forms include maximize and minimize buttons, a resizable border, and a menu that provides additional commands to resize the form.

The bsNone value for the BorderStyle property is used when you want to remove the Border and the caption bar from the form - leaving only the content visible. This setting is commonly used when creating a splash screen. One downside to setting the bsNone value for BorderStyle is that such forms cannot be resized!

There may be situations when you want to remove a form's border (and title bar) *but* still leave the option for a user to resize the form. Here's how...

Read the full article to learn how to Create a Resizable Delphi Form with No Border

Related:

What Happened to "Borland Delphi"? What is CodeGear? What is Embarcadero?

Tuesday July 7, 2009
in Delphi Info :: Take a quick look at the box where your Delphi installation CDs (DVDs, diskettes??) are. Does it say "Borland Delphi" or "CodeGear Delphi" or "Embarcadero Technologies Delphi"?

If your box states that Delphi is a product from Borland company or from CodeGear company you are probably holding an older version of Delphi in your hands!

Read the full article to find out What Happened to "Borland Delphi"? What is CodeGear? What is Embarcadero?

Related:

What Was Your First (Not a "Hello World" Type) Delphi Application?

Monday July 6, 2009
in Delphi :: When you want to learn a new programming language you pick a book or find an online tutorial. The first project you will create would be a "hello world" type of application - such a program should be one of the simplest programs possible in a computer programming language.

After a few "hello world" programs, you would start building your fist non-trivial application.

Share your Delphi past: What Was Your First (Not a "Hello World" Type) Delphi Application?

Related:

Create a Time Out Button / Entry Form in Delphi

Friday July 3, 2009
VCL Ideas :: Time out Delphi form If you are developing a "quiz-like" type of application, or an "exam-like" application, a user needs to make a selection and click the "Next" button, to go to the next "question".
In such scenarios you might need to force a user to make a selection (choose the "answer") within a specified time interval.

You, as a developer, should include some code that will programmatically fire the OnClick event of the "Next" button, when the time has elapsed. Here's how ...

Read the full article to learn how to Create a Time Out Button / Entry Form in Delphi

Related:

Delphi's TListBox Items as Radio Buttons

Thursday July 2, 2009
ListBox Tips :: TListBox displaying radio buttons The TListBox VCL component displays a collection of items in a scrollable list. The MultiSelect property determines if a user can select more than one item.

Read the full article to learn how to draw a radio button for each of the items in a List Box

Related:

Group Items in Delphi's TListView Control with Expandable and Collapsible Sections

Tuesday June 30, 2009
in TListView Ideas :: ListView item grouping The TListView Delphi control displays and manages a list of items, displayed in columns, vertically or horizontally, with small or large icons.

Windows XP, and later versions, support grouping items in a list view. With the grouping feature of the ListView control, related sets of items can be displayed in groups. Groups are separated on the screen by horizontal group headers that contain the group titles.

If you are using Delphi 2007, Delphi 7 or any other previous version, you can also have grouping functionality in the TListView control.

Read the full article to learn how to Mimick List View Item Grouping with Expandable and Collapsible Sections

Related:

Programmatically Remove a Mapped Network Drive: Dialog or Silent

Monday June 29, 2009
in Delphi TIPS :: When working with files and folders in your Delphi applications you might need to provide a user with an option to map a shared network path to a drive letter AND to un-map or disconnect a mapped network location. This time, we want to remove a network connection from Delphi code...

Read the full article to learn how to Programmatically Remove a Mapped Network Drive: Dialog or Silent

Related:

Build your First "Hello World Virus" in Delphi

Friday June 26, 2009
Delphi for fun :: HelloWorld Virus in action Who said programming cannot be fun? Let's create a simple "memory eater" that executes itself an unlimited number of times - thus consuming all the Windows memory :)
Annoy fellow co-workers! Run a Hello World Virus on their computers...

Note: While this article uses the term "virus", the code demonstrated here is not a virus or any other form of malware. If you use this program to annoy your co-workers - you may have to deal with the repercussions!

Display Bold Items in the TTreeView Delphi Control

Thursday June 25, 2009
TIPS :: By default (Windows drawing), all items (tree nodes) of a tree view share the same font styling. If you only want to apply *bold* to some tree items (their Captions), you can use a "special" TreeView API. Here's how to *bold* tree items in Delphi applications.
Read Archives

Discuss

Community Forum

Explore Delphi Programming

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Delphi Programming

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

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

All rights reserved.