home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 December / Chip_2002-12_cd1.bin / zkuste / delphi / kompon / d234567 / COOLTRAY.ZIP / install.txt < prev    next >
Text File  |  2002-10-03  |  2KB  |  59 lines

  1. How to install the components
  2. -----------------------------
  3.  
  4. *** YOU NEED TO INSTALL THE COMPONENTS BEFORE OPENING THE DEMOS IN DELPHI. ***
  5.  
  6.  
  7. If you're running Delphi 5, 6, or 7:
  8.  
  9. - Open CoolTrayIcon_D5.dpk (Delphi 5) or CoolTrayIcon_D6plus.dpk (Delphi 6
  10.   or above) either by doubleclicking the file or by selecting "Open Project"
  11.   inside Delphi. (CoolTrayIcon_D5.dpk may work for older Delphi versions
  12.   as well, but I don't know for sure. Please tell me if I'm right.)
  13.  
  14. - Click Compile, then Install.
  15.  
  16. - That's it. The components should be visible in the component palette
  17.   in a tab called "Tray Icons" (if older versions of the components were
  18.   already installed they may be found in "Custom").
  19.  
  20.  
  21.  
  22. If you're running other Delphi versions than ver. 5, 6, or 7:
  23.  
  24. - Try the steps above with the CoolTrayIcon_D5.dpk file (it may work in
  25.   older versions of Delphi, but I don't know for sure. Please tell me).
  26.   If this doesn't work then do the following:
  27.  
  28. - Select "Install Component" from the "Component" menu item (may vary
  29.   depending on your Delphi version).
  30.  
  31. - A dialog displays where you must select the components to install and
  32.   the package to install into. I recommend creating a new package, if you
  33.   haven't already done so, rather than installing into the default package.
  34.  
  35. - Browse for the RegisterTrayIcons.pas file and select OK.
  36.  
  37. - That's it. The components should be visible in the component palette
  38.   in a tab called "Tray Icons" (if older versions of the components were
  39.   already installed they may be found in "Custom").
  40.  
  41. (Note that in Delphi 2 the component path is limited to 80 characters.
  42. If it's too long it will be partly ignored, which really messes things up.)
  43.  
  44.  
  45.  
  46. If you're running C++ Builder:
  47.  
  48. The required steps are the same as in Delphi, so just follow the steps above.
  49.  
  50. Alternatively, use this approach:
  51. 1. Select "New Component..." from the menu
  52. 2. In "Ancestor type", select "TTrayIcon  [trayicon]"
  53. 3. In "Class Name", type "TCoolTrayIcon"
  54. 4. In "Palette Page", type "Tray Icons" (or another tab you want to install to)
  55. 5. In "Unit file name", select "RegisterTrayIcons.pas" (which is found in the
  56.    CoolTrayIcon package).
  57. 6. Click on the "Install" button.
  58.  
  59.