You are here:About>Computing & Technology>Delphi Programming
About.comDelphi Programming
From Zarko Gajic,
Your Guide to Delphi Programming.
FREE Newsletter. Sign Up Now!

Change the Background Color on different Lines of text in a TListBox

in Delphi TIPS :: After dropping a TListBox on your form, you must change the Style property of the TListBox to lbOwnerDrawFixed. If you fail to change the Style property, the OnDrawItem event will never be called. Put some special code in the OnDrawItem event of your TListBox...

Read the full article to learn how to Change the Background Color on different Lines of text in a TListBox.

Related:

Saturday May 17, 2008 | permalink | comments (0)

(* Commenting Delphi Code *)

in Beginner Delphi :: Learn the art of helping yourself, when it comes to code maintenance. The purpose of adding comments to Delphi code is to provide more program readability using understandable description of what your code is doing.

Read the full article to learn about (* Commenting Delphi Code *).

Related:

Friday May 16, 2008 | permalink | comments (0)

Top 10 Delphi Web Development Tools

in Delphi Top Picks :: With the release of .NET Microsoft forced developers to think more of Web development as the number one job description in the future. Let's see what are the options for Delphi developers. Here's a list of the selected tools to help you speed up your Web projects. From VCL components (*http enabled*) to true RAD tools the list offers the best choices.

Read the full article to locate Top 10 Delphi Web Development Tools.

Related:

Thursday May 15, 2008 | permalink | comments (0)

Alternate DBGrid Row Color

in Delphi's DBGrid :: You've seen this surely on web pages. Alternating table row colors means displaying the first record in one color and the second record in another color and continue to alternate the color of each row displayed.

When working with datasets with many rows, alternating the background color of each row can increase readability.

Read the full article to learn how to Alternate DBGrid Row Color.

Related:

Tuesday May 13, 2008 | permalink | comments (2)

How to Refresh a DBGrid without Losing the Current Row Position

in Delphi TIPS :: When DBGrid is used to display data from a dataset (query or table), by design, after you call Refresh method on a dataset (re-open) (for example, using a DBNavigator), the current row position will be set to zero (first record).

If you have been asking "Is there any way to reopen or refresh a query, leaving the TDBGrid data exactly where it is (without changing the positions)?" Here's one answer to the problem...

Read the full article to learn how to Refresh DBGrid Data - Preserve Row Position.

Related:

Monday May 12, 2008 | permalink | comments (1)

How to Disable TEdit's Default PopUp (Context) Menu

in Using VCL :: When a user right-clicks on an Edit component at run time (or any other component that allows editing such as MaskEdit, Memo, DbEdit, etc.), by default the system's context menu pops up with options to undo, copy, paste, etc. One way to get rid of this default popup menu is to handle the OnContextPopup event by setting the Handled parameter to True.

Read the full article to find out How to Disable TEdit's Default PopUp (Context) Menu

Related:

Sunday May 11, 2008 | permalink | comments (0)

Using Objects to Store Configuration Information in Delphi applications

in Delphi Ideas :: The purpose of this article is to explain how to use objects to substitute the INI files (and other similar techniques) to store configuration information.

Read the full article to learn how to Use Objects to Store Configuration Information in Delphi applications

Related:

Friday May 9, 2008 | permalink | comments (2)

A Decorator Pattern - Delphi OOP Chapter 27

in Delphi OOP :: In this chapter we look at situations where it is not necessary to change the core characteristics of an object at run time, but rather optionally to be able to add behaviour to the object’s existing behaviour. In OO parlance we want to decorate an object and so we’ll look at the Decorator pattern.

Read the full article to learn download A Decorator - Delphi OOP Part 14 - Chapter 27

Related:

Thursday May 8, 2008 | permalink | comments (0)

Bingo Game - Fancy Delphi Application Contest Entry #28

in FDAC :: Bingo In "real life", Bingo is played in halls. Bingo rules and play variations vary from place to place.

Are you a passionate player? Love Bingo? Wnat to play and practice for free (and learn how to code Bingo)?

This is the 28th entry to the Fancy Delphi Application Contest

Read the full article to find more about (+ download source code) Bingo Game

When you download the application and test, rate it:

  1. Excellent
  2. Superb
  3. Good
  4. Average
  5. Poor
If you already voted, take a look at poll results.

Related:

Tuesday May 6, 2008 | permalink | comments (0)

Select Which Panel Displays AutoHint in Delphi's TStatusBar

in Delphi TIPS :: The TStatusBar Delphi control displays a row of panels, usually aligned at the bottom of a form.

When AutoHint is true, the status bar automatically responds to hint actions by displaying the long version of the hint’s text in the first panel.

If you want the current hint to be displayed in some other panel, as needed per your application design (something else displayed in the first panel) you might want to display auto hints in a selected panel of a status bar.

Read the full article to learn how to Select Which Panel Displays AutoHint in Delphi's TStatusBar.

Related:

Monday May 5, 2008 | permalink | comments (0)

Email to a Friend

Display Latest Headlines | | | Read Archives

powered by WordPress

Newsletters & RSSEmail to a friendSubmit to Digg
 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.