Highlighting Delphi’s DBGrid Row On Mouse Hover

May 14th, 2008

Hot Tracking for TDBGrid

Delphi’s TDBGrid displays and manipulates records from a dataset in a tabular grid.
Contrary to what most novice developers think, the DBGrid component allows various customizations.
Changing the color of a specific cell or a column or even a row is not complicated at all.
What most are not aware of, is that you can even implement the OnMouseHover (hot tracking) behavior to change the display (color, font, etc.) of the DBGRid’s (data) row underneath the mouse - *not* the currently selected row - thus making it look like today’s web driven interfaces.

I’m sure you’ve seen this behavior many times - many tables on the Web change the background color of their rows as mouse hovers over them.

http://delphi.about.com/od/usedbvcl/a/dbgridmouseover.htm

Coloring DBGrid

May 14th, 2008

How to enhance the functionality of a TDBgrid component using colors

Adding color to your database grids will enhance the appearance and differentiate the importance of certain rows or columns within the database.

Since the DBGrid is a great user interface tool for displaying data, this article will focus on questions like “How do I change the color of particular row / column / cell in a DBGrid?”
Read the rest of this entry »

Alternate DBGrid Row Color

May 14th, 2008

A special color for odd and even rows :)

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 rest of this entry »

DelphiSpeedUp IDE plugin

April 22nd, 2008

A plugin for Delphi/BCB/BDS/CodeGear RAD Studio. It speeds up the time to load the IDE and it also improves the whole speed of the IDE. This is achieved by replacing some often used RTL functions by FastCode function that are optimized for the used CPU. It also adds some caches for function that work on filenames like ExpandFileName(). Read the rest of this entry »

CnPack

April 22nd, 2008

Background and Target

Borland Delphi/C++Builder is famed for its completely open VCL framework: by using third party’s codes and components, software developers can improve their productivity enormously. However, among all the third party components, the number of those written by Chinese developers (leave out commercial products) can be counted on the fingers of one hand, let alone those that are comparable to JCL, RxLib, GExperts.

CnPack is aimed to be an excellent large package at the very outset with many people’s contribution. It is also intended to provide a great number of codes and documents for Delphi developers’ reference and study. Read the rest of this entry »

GExperts

April 22nd, 2008

GExperts is a set of tools built to increase the productivity of Delphi and C++Builder programmers by adding several features to the IDE. GExperts is developed as Open Source software and encourages user contributions to the project.
GExperts would not exist without the help and advice of many people. For a list of credits, see the change log in the Readme.txt, or open the GExperts about box. Read the rest of this entry »

Structure Query Language (SQL)

April 10th, 2008

Structured Query Language atau bisa biasa diSingkat SQL merupakan suatu bahasa standar yang biasa digunakan untuk berhubungan dengan database.

Read the rest of this entry »

Menggunakan Help

March 15th, 2008

Menggunakan Help
Salah satu fasilitas penting yang sering kali tidak digunakan secara maksimal adalah help. Delphi menyediakan ratusan komponen dan masing – masing komponen mempunyai puluhan property, function, dan procedure. Untuk menghafalkannya tidaklah mudah.

Untuk mengatasi kendala tersebut, gunakanlah fasilitas Help yang dapat diakses dari menu
Help, Ada tida kategori Help, yaitu :

Read the rest of this entry »

Mengenal Komponen Delphi

March 14th, 2008

MENGGUNAKAN KOMPONEN

Jika akan membuat aplikasi Windows tentu akan membutuhkan komponen visual, yang disediakan delphi diantaranya : Button, edit, Listbox, dan sebagainya. Masing-masing komponen dapat diatur sesuai kebutuhan sehingga menjadi aplikasi yang menarik dan mudah digunakan.

Read the rest of this entry »

Mengenal IDE Delphi

March 13th, 2008

Apa itu Delphi, Delphi merupakan tool untuk membantu mengembangkan beragam aplikasi untuk beragam versi, mulai dari Windows 3.x (Delphi 1), 9x, NT 3.x NT 4.x, 2000, XP sampai Windows 2003, bahkah di OS Linux dengan komponen Cross Platform-nya. Dengan Delphi Anda dapat membuat aplikasi Desktop maupun internet (web base).

Read the rest of this entry »