Installation Instructions For The TTipOfTheDay Component GETTING STARTED --------------- - Unzip 'TIPOFDAY.ZIP' to a temporary directory with the -d flag, this will expand two sub-directories. - The zipped file contains 2 versions, 16 and 32 bit, of the TTipOfTheDay component. - Files for the 16 bit version are in the 'Delphi1' directory. Be sure to use these files only for Delphi 1. - Files for the 32 bit version are in the 'Delphi2' directory. Be sure to use these files only for Delphi 2. - If you don't already have a directory for add-on components, create one at this time. It is always a good idea to install new components in a directory separate from those included with the language (e.g. ':\Delphi\AddVCL'). INSTALLING THE HELP FILES ------------------------- - If you are currently running Delphi, exit it now. You cannot install the help files while Delphi is running. - Move the file 'TIPOFDAY.HLP' to the Delphi 'Bin' directory ('C:\Delphi\Bin' by default). - Move the file 'TIPOFDAY.KWF' to the Delphi 'Help' directory ('C:\Delphi\Help' by default). - Run the program 'HelpInst' from the 'Help' directory mentioned above. - From HelpInst, load the file 'Delphi.hdx' which should be in the 'Bin' directory. - From HelpInst, Add the file 'TIPOFDAY.KWF' to the list of indexes. - From HelpInst, Save the new index file and exit the program. - TTipOfTheDay's Help file will now be merged with Delphi's. INSTALLING THE TipOfTheDay COMPONENT ------------------------------------ The following instructions must be repeated for each version of Delphi you are installing to: - Move the files TIPOFDAY.DCU TIPOFDAY.DCR TIPSDLG.DCU TIPSDLG.DFM from the temporary Delphi1 or Delphi2 directories to your directory for add-on components (e.g. 'C:\Delphi\AddVCL'). - Run Delphi and select 'Install Components' from the 'Options' menu (for Delphi 2 it's 'Install' from the 'Component' menu). - If it's not already there, add the directory you store new components in, to the Search Path. - Click on the 'Add' button and then the 'Browse' button to navigate to the add-on components directory mentioned above (e.g. 'C:\Delphi\AddVCL'). - Ensure that the 'List Files Of Type' filter includes 'Unit File (*.DCU)'. - Select the file 'TIPOFDAY.DCU' from the files list. - Click on the 'OK' button to rebuild the VCL. - The TipOfTheDay component will appear in the 'Dialogs' tab. OFF AND RUNNING --------------- There are two ways to implement TTipOfTheDay, a Simple Way and a Professional, more detailed, way. First, the Simple way :- - Select the TTipOfTheDay component from the Dialogs palette and drop it on your form. - Double-click it's Tips property. The string list property editor will appear. - Add your tips, one per line. Click Ok when finished. - Now add a button or menu option to launch it - Select it's OnClick event and add the following line :- TipOfTheDay1.Execute; - Run and test, that's it! The Professional, more detailed way :- - A demonstration project, TIPDEMO, shows a possible way you could implement TipOfTheDay. Have a look at the code, especially the custom message event. SUPPORT AND REGISTRATION ------------------------ - You can eMail me with any questions or comments to 100271.1164@compuserve.com - Registration information is in the Help file TIPOFDAY.HLP You can register via SWREG, id #13964, for US$25 and the source code will be eMailed to you. Enjoy!