                           TTabListBox Component

                    Copyright 1995 by L. David Baldwin
                           All rights reserved
              See end of this document for more information


The first time I used Delphi's TListBox, I discovered that there was no
provision for setting tabs in the Listbox.  Most the listboxes I use need tabs
to neatly line up columns.

TTabListBox is a simple extension of TListBox to provide the tabs.  You can add
up to 10 tab positions and visually check them at design time.


FILES SUPPLIED

   README       This one
   TABLIST.PAS  Source code
   TABLIST.HLP  Help file
   TABLIST.KWF  Keyword file to link TABLIST.HLP to the Delphi help system.
   TABLIST.DCR  Button bitmap for TTabListBox on the Delphi component palette.


INSTALLING THE TTabListBox COMPONENT

  Installing new components in the library is covered starting on page 68 of
  the User's manual.  Here's some extra comments and suggestions.

  1. The Register procedure in TABLIST.PAS is set up to place TTabListBox on
     a palette page tab named 'MyStuff'.  You can change the location after
     installation but you may prefer to edit the Register procedure to place
     it on a different page when it's installed.

  2. Backup COMPLIB.DCL or start a new library file.

  3. Pick a directory for the TTabListBox component.  You'll probably be adding
     other components.  I think it's a good idea to have one or two
     directories to hold the non-Borland components.  It's probably not a
     good idea to assign each component a directory of its own. Put
     TABLIST.PAS and TABLIST.DCR in the chosen directory.

  4. From the Delphi IDE, choose Options|Install Components.  In the dialog,
     choose the Add... button.  In the Add Module dialog that then comes up,
     the simplest approach is to use the Browse button to find TABLIST.PAS.
     Hit OK then and the Search Path edit box will have the correct path
     added and TTabListBox will have been added to the installed units listbox.
     (You may have to scroll down to see it.)

  5. Hit OK on the Install Components dialog and the necessary steps will be
     taken to do the installation.  The TTabListBox button will appear on
     the chosen component page tab.


INSTALLING THE HELP FILE

  The file TABLIST.HLP will supply context sensitive help for the TTabListBox
  component.  Installation of component help files is discussed in the Component
  Writer's Guide on page 80.

  1. Place the TABLIST.KWF file in the DELPHI\HELP directory with the other
     .KWF files.

  2. Close the Delphi IDE.

  3. Run Delphi's HELPINST.  Choose File|Open to open DELPHI.HDX in the
     DELPHI\BIN directory.

  4. Choose Keywords|Add Keyword File to add the TABLIST.KWF file to the list
     of .KWF files.

  5. Choose File|Save or hit the blue disk button to compile and save the
     revised .HDX file.

  6. Now it remains to set things up so that WINHELP can find the help file
     TABLIST.HLP.  There are several choices:

     a. Put TABLIST.HLP in the DELPHI\BIN directory with the other help files.
     b. Put TABLIST.HLP somewhere on the your path.
     c. Modify WINHELP.INI to add a directory entry for TABLIST.HLP.

The TABLIST.HLP file contains documentation for how to use the TTabListBox
component and how to set the tab positions.  To access the help, open the help
file from Delphi, press the Search All button and search for 'TTabListBox'.
Or place a TTabListBox component on your form and press F1.


FURTHER COPYRIGHT INFORMATION

There is no charge for the use of the TTabListBox component.

This package may be copied and distributed freely providing that it is not
modified, no fee is charged, and it is not made part of a package for which
a charge is made.  If you upload this package to other bulletin boards, I'd
appreciate it if you would try to keep the upload current.

Please report all bugs, suggestions, and problems to:

       Dave Baldwin,

       CompuServe ID: 76327,53.

       22 Fox Den Rd., (Summer)
       Hollis, NH 03049
       (603) 465-7857


       144 13th St. East,  (Winter)
       Tierra Verde, FL 33715
       (813) 867-3030
