==============================================================================
 FileToolbar - Release 2000/1  16.03.2000
 for Delphi 4 and up.
 You must have installed the famous Toolbar97 componentes from Jordan Russell

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

 FileToolbar is FREEWARE. Freeware means, that you can use this software 
 without paying anything for it, but it is not public domain! This software 
 is protected through the law of the Federal Republic of Germany, the European
 Union and other countries.

 (C)2000 by Peter Hellinger Software, All rights are reserved.

 Peter Hellinger Software, Zerzabelshofstrasse 41, D-90480 Nrnberg

 email: mail@helli.de
 homepage: http://www.helli.de

==============================================================================

 Installation:
 Copy FILETOOLBAR.PAS into your library path.
 Select Components -> Install Components from the Delphi main menu and put
 FILETOOLBAR.PAS to a package of your choice.

 You also must have installed the Toolbar97 componentes from Jordan Russell

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

 TFileToolbar enables the common TToolbar97 to save and restore its buttons
 and Separators (currently TToolbarButton97 und TToolbarSep97 are supported)
 to a Ini file or the registry.  Very useful, if you want the user of your
 program to customize the toolbars and restore this at startup.

 To get this work, the loaded buttons must be attached with a TActionList.
 In the ActionList are the Eventhandlers for each button. If you want
 display a Glyph you have to use an Imagelist, attached to the TActionList.

 TFileToolbar save the methode names attached to the TToolbarButtons and
 the names of the buttons. For example like this:

 [FileToolbar1]
 Caption=FileToolbar1
 ToolbarButton971.G_Action=Action1
 ToolbarButton972.G_Action=Action2
 ToolbarButton973.G_Action=Action3
 ToolbarSep971.Separator=X
 ToolbarButton974.G_Action=Action4
 ToolbarButton975.G_Action=Action5
 ToolbarButton976.G_Action=Action6
 ToolbarSep972.Separator=X
 ToolbarButton977.G_Action=Action7
 ToolbarButton978.G_Action=Action8
 ToolbarButton979.G_Action=Action9

 After loading the saved buttons, TFileToolbar looks for the TAction
 with the loaded name, generates a TToolbarButton97 or a TToolbarSep97
 on the fly an connects it with the TAction.

 If there is already a button with the same name as the loaded button
 on the FileToolbar, it will be destroyed and replaced by the newly
 generated one.

 TFileToolbar extends the TToolbar97 with the following properties and
 methodes:

 property Actions	Holds the TActionlist, that ist conected with
                        buttons.

 property Images	Holds the TImageList, to Assign the Glyphes
                        for the Buttons.

 property OnSave	Is called, after the contents of the Toolbar
			are saved to the Ini file or the registry.

 property OnLoad	Is called, after the contents of the Toolbar
			is updated from the file, an before the
			changes are visible on the screen.

 property UseRegistry	If this is true, Load and Save goes to the
			Registry instead of a Ini file.


 procedure StoreToolbar;
 Stores the current contents of the toolbar into a internally buffer.


 procedure ResetToolbar;
 Restores the current contents of the toolbar from the internally buffer.
 If the buffer is empty, nothing will happen...


 procedure LoadFromfile (const fName: string; clear: Boolean);
 Loads the contents from a ini file or the registry (look for UseRegistry
 property).

 fname =	The filename of the ini file, or the path in HKEY_CURRENT_USER
		to load the data from

 clear =	If true, all controls on the toolbar will be erased before the
                contents are loaded.


 procedure SaveToFile (const fName: string);
 Saves the contents of the toolbar to a ini file or the registry (look for
 UseRegistry property).

 fname =	The filename of the ini file, or the path in HKEY_CURRENT_USER
		to store the data


==============================================================================
