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

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)

Implementing a TString object in Delphi - String "as" Object

TIPS :: How many times have you wanted to assign a string value for the "Object" parameter in, for example, TComboBox.Items? The TStrings class has a method AddObject that adds a string to the list, and associates an object with the string. If this object is a string you'll need to represent a string as an Object...

Related:

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

Top Delphi Modeling/CASE Tools

in Delphi Tools :: What are the best UML tools on the market? There are a lot, providing an interesting array of features. Here's a list of suggested tools to make your Delphi developer days easier. UML stnds for a general-purpose notational language for specifying and visualizing complex software, especially large, object-oriented projects.

Read the full article to find Top Delphi Modeling/CASE Tools.

Related:

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

Factory Patterns - Delphi OOP Chapter 26

in Delphi OOP :: This chapter explores the Factory patterns, which, instead of changing an object’s behaviour, provide ways of creating different objects to suit run time requirements.

Read the full article to learn about Factory Patterns - Delphi OOP Chapter 26

Related:

Thursday May 1, 2008 | permalink | comments (2)

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.