How to Change the Default Windows Printer from Code
Monday October 31, 2005
TIPS :: While the Printer Delphi's global variable provides an easy way to get the list of available printers on a machine, it does not provide a method to ... Read More
Delete files with the ability to UNDO
Saturday October 29, 2005
TIPS :: Here's a Delphi procedure that can be used to delete a file with the ability to undo by sending the file to the "Recycle Bin".
Handling Errors and Exceptions
Friday October 28, 2005
Delphi Language :: Unfortunately, building applications includes coding. Regardless of how carefully you write/debug your program, it will be impossible to imagine every situation that can go wrong. Users make ... Read More
How to Move and Resize Controls at Run Time
Tuesday October 25, 2005
ARTICLES :: While in most situations you will arrange all the controls on a Delphi form in a "fixed" position, there are situations when you need to allow a ... Read More
How to remeber Delphi form controls position and size
Monday October 24, 2005
TIPS :: If you allow a user to move and resize form controls (at run time), you have to ensure that control placement is somehow saved when the form is ... Read More
Handling database errors
Saturday October 22, 2005
DB Course :: Chapter 19. One of the most important elements of database programming is handling database errors. Any robust (database) application must contain error trapping mechanism to prevent an ... Read More
Use arrow keys to move between controls
Friday October 21, 2005
TIPS :: The UP and DOWN arrow keys are virtually useless in edit controls. So why not use them for navigating between fields. If you set the KeyPreview property of ... Read More
How to (custom) Sort a ListView
Thursday October 20, 2005
TIPS :: When you are working with a TListView component and want to sort the items based on a custom criteria, you can use the following idea...
How to set the Progress Bar Position using Mouse
Monday October 17, 2005
TIPS :: By default, the TProgressBar control is used to provide visual feedback about the progress of a procedure within an application. Programatically, a developer can set Min and Max ... Read More
Customizing (button graphics and captions) the DBNavigator
Friday October 14, 2005
DB Controls :: Enhancing the TDBNavigator component with modified graphics (glyphs), custom button captions, and more. Exposing the OnMouseUp/Down event for every button.
Using Data Modules in Delphi database applications
Thursday October 13, 2005
DB Course :: Chapter 18. When developing simple database applications (with one or two forms) it is quite usual to place all the data-access components on a form with ... Read More
UDP Makes a Difference (UDP vs. TCP)
Monday October 10, 2005
TIPS :: Everybody doing some sockets programming is quite familiar with TCP. Most do know UDP and think it’s an inferior protocol, as it does not ensure that the data ... Read More
Decompiling (reverse engineering) Delphi code
Saturday October 8, 2005
TOOLS :: Whispering about reverse engineering Delphi applications:"I have a Delphi program's .exe, can I decompile it and get the source?" Suppose you lose your Delphi project's source and ... Read More
Accessing Outlook Contacts
Friday October 7, 2005
AUTOMATION :: Suppose you used Delphi to write a little address database, and now you want to synchronize this database with the contacts stored in Microsoft Outlook. Some solutions to ... Read More
Creating reports from database applications
Thursday October 6, 2005
DB COURSE :: Chapter 17. In programming (database) terminology reports are printed documents containing data from a database. Learn how to use QuickReport set of components to create database reports ... Read More
Top 10 Fun Reasons why you Should Stop Using Delphi, now!
Tuesday October 4, 2005
FUN :: I don't know about you, but I've seen too many newsgroups/forum posts that state/ask something like "Is Delphi dying?" or "Delphi has no future", and similar. If Delphi ... Read More
How to create a shaking window
Monday October 3, 2005
TIPS :: Whether you want to shake your Delphi application forms just for fun or to attract a user attention it's up to you :)
Here's a simple code to ... Read More

