1. Computing & Technology

Articles Index - page 2

Generic Solution to Coloring the Focused Entry Control
Generic solution to changing the background color (and other properties) of the focused (selected for input) Delphi control. Learn how to exploit the powers of the RTTI, OnEnter and OnExit events of a Delphi control along with the TScreen's OnActiveControlChange event to provide a more user friendly application interface.

TScreen Object Demystified
Coding the TScreen object, obtainer of all information about the current state of the screen in a Delphi application.

Managing Component Arrays in Delphi
Learn how to access a group of design-time created components - by storing the components in an array.

Create a Time Out Button / Entry Form in Delphi
If you are developing a "quiz-like", or an "exam-like" Delphi 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. Here's how to code a timeout-button click...

Basic Clipboard Operations (Cut/Copy/Paste) using the TClipboard object
Working with the Windows Clipboard from a Delphi application - basic operations: Cut, Copy and Paste.

Advanced Mouse Processing
More sophisticated Mouse techniques. Is mouse Present? Handling OnMouseEnter, OnMouseLeave. Restrict movement, Set Position, Faking clicks, etc.

Monitoring Mouse Activity
Is the mouse over a component? Was a mouse button pressed? Which button was it? Did the user release a button, which one? Exactly where inside the form is the mouse? Did the user move the mouse out of the form into another form?

Get the Url of a Hyperlink when the Mouse moves Over a TWebBrowser Document
A typical Web Browser displays, in the status bar, the URL of the hyperlink when the mouse hovers over a link in a HTML document. Here's how to implement event sinking for a document displayed by the TWebBrowser component (in Delphi applications) - and get the info of a HTML element below the mouse.

How to Display Menu Item Hints
By (Windows) design, in Delphi applications, hints assigned to menu items do not get displayed in the popup tooltip window (when the mouse hovers over a menu). To mimic the Windows Start menu or the Favorites menu of the Internet Explorer (and display hints for menu items) you must create your own hint window. Here's how...

How to make the Enter key work like Tab
Pressing the Tab key moves the input focus to next control and Shift-Tab to previous in the tab order of the form. When working with Windows applications, most users intuitively expect the Enter key to behave like a Tab key.

Custom Component Development
Everything about creating custom components in Delphi. The ultimate source.

1 | 2

©2012 About.com. All rights reserved.

A part of The New York Times Company.