Delphi Tips from Borland

These are the tips (TI's) from Borland for Delphi.

New as of September 24, 1995

Redistributing the Borland Database Engine

Cascading Deletes With Pdox Referential Integrity

dBASE Expression Indexes: A Primer

How to do pointer arithmetic in Delphi

Form display with different screen resolutions

New as of August 29, 1995

Bitmaps And InterBase BLOB Fields

InterBase BLOB Fields: A Primer

Using The ASCII Driver With Comma-delimited Files

Determining Record Number In A dBASE Table

Managing disk volume labels in Delphi

How to copy files in Delphi

How to terminate all running applications

How to check to see if a drive is ready

How to do bit-wise manipulation

How to keep the app iconized

How to use a custom cursor

New as of August 2, 1995

Control font styles

Handling EDBEngineError exceptions

How to handle text drawing in a TDBGrid

Searching your application's help file

Removing the vertical scrollbar from a TDBGrid

New as of July 3, 1995

Drag a form without clicking the caption bar

How to circumvent the "index not found" exception

College Student Guide to reading and writing files

Instructions for running Delphi from CD-ROM

Making your Delphi apps show minimized

Step by Step configuration of an ODBC driver

Creating database aliases in code

Creating and deleting TFields at run-time

How to iterate through the fields of a table

How to match file date/time stamps

Adding graphics in your Listboxes and Comboboxes

Using OnHint events among multiple forms

Making the Enter key work like a Tab in a TDBGrid

Moving to a tab by name on a TabSet

Calling a Delphi DLL from C

Getting a query's Memo field as a string

How to encrypt a String

Undo in a Memo field

Getting the line number in a Memo field

Loading bitmaps into dBase and Paradox Blob fields

Printing the contents of a TMemo or TListbox

Extracting a bitmap from a Blob field

Searching Through Query Result Sets

dBASE .DBF File Structure

Passing A Variable To A ReportSmith Report

Extracting Index Data From A Table

-------------------------------------------

Other Tips and Techniques

These are tips from various other sources for Delphi.

New as of October 27, 1996

Pinnacle Online Delphi Developer

Pinnacle Online Delphi Tips

New as of November 19, 1995

Tidbits from Delphi TechForum 95

How to create an array of buttons

Using the Ctrl-C and Ctrl-V keys for copy and paste in a DBGrid control

Routine to pack a DBase (and Paradox?) table

The very best of the Delphi-Talk Mailing List (09/95 issue)

The very best of the Delphi-Talk Mailing List (10/95 issue)

Having mixed fonts within a memo component

Changing the color of specific cell in a TStringGrid

Playng WAV files

New as of October 13, 1995

Packing DBase tables in Delphi

The Delphi Programmers Resource Guide

Word Macros that auto-create component help files

New as of September 24, 1995

Setting TFont Orientation

Borland Pascal Code To Read Long Filenames

Overcoming The 64K Data Segment Limit - FreeMem Bug and Fix

How to do Drag & Drop *WITHIN* Toutline

How To Subclass A Window Of An External Application

New as of September 7, 1995

Tidbits from Delphi TechForum 95

New as of August 2, 1995

256 Color Bitmap StretchDraw

Delphi Flic Component

Problem fix for TComm component

Compile DOS programs with Delphi

Delphi version of VB DoEvents

Create a list of Delphi error codes and their descriptions

Delphi GetEnv function

Loading glyphs from a resource file

Line Component source code

Bitmap images as backgrounds for list boxes

Running applications at different resolutions

Shifting focus to the next control

Real mode in Windows

String Pattern Matching or searching

Accessing a String as PChar

Info about TParser class

Example of how to use TParser

New as of July 3, 1995

Example of variable number of parameters

Loading a Form From Another

TransBlt in Delphi

Adding To Program Manager

Working with PChar

How to add controls to TTabbedNotebook and TNoteBook

Remove the title bar in a MDI child form

Making more than one icon available in an EXE

Draw to a Windows Metafile

Controlling Form Maximization

Standard Read and Write on a TMemo

Component load bitmaps from .DCR or .RES

Encrypt/Decrypt a File

Resizable Panel Component that resizes other controls

Detect Drive Types

Detect CPU Including Pentium and Beyond

How to make a delay

DBGrid Component that shows pictures

Clipboard and Streams

Customizing Cursors

How to duplicate C function ATAN2 in Delphi