home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / zkuste / delphi / kolekce / d123456 / DFS.ZIP / ElpsPanl.txt < prev    next >
Text File  |  2001-06-28  |  7KB  |  138 lines

  1. TdfsEllipsisPanel v1.19
  2.  
  3.  
  4. Description:
  5.  A panel that can shorten the caption text, replacing it with '...' when
  6.  it does not fit the available space.  Also provided is a generic function
  7.  that will "ellipsify" a string.  This function can be used to produce
  8.  other components like TdfsEllipsisPanel, such as TdfsEllipsisLabel.
  9.       
  10.       
  11. Contact Information:
  12.   The lateset version will always be available on the web at:
  13.     http://www.delphifreestuff.com
  14.   If you have any questions, comments or suggestions, please use the Delphi
  15.   Free Stuff Support Forum at: 
  16.     http://www.delphifreestuff.com/discus/
  17.   If, for some reason, you can not use the web-based support forum, you can
  18.   email me at bstowers@delphifreestuff.com.  However, the support forum will
  19.   always take precedence over direct email since it provides a resource that
  20.   others can use when they have a problem.  Every message posted to the forum
  21.   is emailed directly to this account, so emailing me directly will not get 
  22.   your message to me any faster.  It will only make the message less important
  23.   for me to respond to since only one person (you) is benefiting from it
  24.   instead of everyone interested.  Having said all that, please do email me 
  25.   directly if it is regarding something that isn't really support related, 
  26.   i.e. just to say thanks (as novel as that idea is).  
  27.  
  28.  
  29. Installation:
  30.   Delphi 1:
  31.     * Select the 'Options | Install Components' menu item.
  32.     * In the Install Components dialog, click the Add button.
  33.     * In the Add Module dialog, enter the full path name of the component's 
  34.       registration unit (the unit that ends with 'Reg.pas', i.e. 
  35.       'BrowseDrReg.pas') and click OK.
  36.     * In the Add Module dialog, click OK.
  37.     * The component library will be rebuilt and a new tab named 'DFS' will
  38.       be available on the Component Palette.
  39.   
  40.   Delphi 2, C++Builder 1:
  41.     * Select the 'Component | Install' menu item.
  42.     * In the Install Components dialog, click the Add button.
  43.     * In the Add Module dialog, enter the full path name of the component's 
  44.       registration unit (the unit that ends with 'Reg.pas', i.e.
  45.       'BrowseDrReg.pas') and click OK.
  46.     * In the Add Module dialog, click OK.
  47.     * The component library will be rebuilt and a new tab named 'DFS' will be 
  48.       available on the Component Palette.
  49.  
  50.   Delphi 3, 4, 5, C++Builder 3 & 4:
  51.     * Do one of the following:
  52.       + Create a new package by selecting File | New and choosing Package from
  53.         the New tab in the dialog.
  54.       + Open an existing package file.  I suggest you do this if you already
  55.         have a package that you like to use for small, third party components.
  56.         I specifically have a package named "3rdParty.dpk" that I use for
  57.         small components that come from other people.  Or, if you are using
  58.         several of my components, you might create a "DFS.dpk" package and
  59.         use it for all of my DFS components.
  60.     * In the resulting package window, click the Add button.
  61.     * In the Add dialog, on the Add Unit tab, enter the full path name of the
  62.       component's registration unit (the unit that ends with 'Reg.pas', i.e.
  63.       'BrowseDrReg.pas') and click OK.
  64.     * You may want to add the other source files (*.pas) to the package as
  65.       well in the same manner as you did the registration unit.  While this is
  66.       not required, not doing it will cause compiler warnings when the package
  67.       is compiled.  The component will function fine either way, but I
  68.       personally find the warnings very irritating and am not happy until
  69.       every compiler warning and hint is gone.
  70.     * If this package is new, or it has never been installed, click the
  71.       Install button in the package window.  If this package is already
  72.       installed in Delphi, click the Compile button.
  73.  
  74.   C++Builder 5 and up:
  75.     * Perform the "Delphi 3 and up, C++Builder 3 and up" steps above, except
  76.       for the last step (Compile or Install).
  77.     * Select the package the component has been added to, and choose 
  78.       Project | Edit Option Source to open the package options in the editor.
  79.     * In the entry for PFLAGS, add the "-LUvcl50" option.  For example:
  80.         <PFLAGS value="-$YD -$W -$O -v -JPHNE -M -LUvcl50"/>
  81.     * Perform the final step from above, Compile or Install.
  82.     * For Borland's official word on this situation, open the C++Builder help
  83.       file and search the index for "dsgnintf.dcu" and see the "Compiling
  84.       packages with DsgnIntf" section.
  85.  
  86.   Delphi 6 and up:
  87.     * Perform the "Delphi 3, 4, 5, C++Builder 3 & 4" steps above, except
  88.       for the last step (Compile or Install).
  89.     * Add the DesignIDE package to the Requires list of the package into which
  90.       the component is being installed.
  91.     * Perform the final step from above, Compile or Install.
  92.     * This is necessary because of changes to the design-time support units
  93.       introduced in Delphi 6.  For complete information, see the Del6New.hlp
  94.       file in your Delphi 6 Help directory.  In the index, search for
  95.       "upgrade issues" and in the resulting list of topics, select the
  96.       "DsgnIntf renamed and related changes" topic.
  97.  
  98.  
  99. Known Issues:
  100.   * There are no known issues at this time.
  101.  
  102.  
  103. Revision History:
  104.  1.19:  + Updated for Delphi 6 compatibility.  See updated install directions
  105.           above.
  106.  1.18:  + Updated for C++Builder 5 compatibility.
  107.  1.17:  + Didn't publish a lot of properties that were available to panels after
  108.           Delphi 1.  For example, Constraints, Anchors, all the docking stuff in
  109.           Delphi 4, etc.  This has been fixed.
  110.  1.16:  + It's *really* D5 compatible now.  Small change between the D5 eval
  111.           version and the real, shipping D5 version broke it.
  112.  1.15:  + Component classname changed.
  113.         + D5 compatibility.
  114.  1.14:  + Added ElPnlReg unit.  All IDE specific code (i.e. registering the
  115.           component, property editors, etc.) are contained in this unit.  This
  116.           was done for two primary reasons:  1) Using the component in a Delphi
  117.           or C++Builder expert would register the component as well.  2) Reduce
  118.           code size in some cases -- usually the smart linker removes this sort
  119.           of stuff since the app never references it, but now it's for certain
  120.           since it isn't even in the unit.  This change means that you need to
  121.           install the component using the new "registration" unit instead of
  122.           the unit containing the component.
  123.  1.13:  + Added Version property.
  124.  1.12:  + EllipsifyText function now uses the DrawTextEx API function if running
  125.           under Win32 (it's not available for Win16).  I thought I'd already
  126.           done this, but I guess not.  Thanks to Dan Brooke
  127.           <dan@health-intl.demon.co.uk> for this.
  128.         + Was not accounting for the BorderWidth properly.
  129.         + Updated to use DFS.INC for standard defines.
  130.         + Fixed bug with C++Builder 3 run-time packages.
  131.  1.11:  + '|' was not being added to the end of hint string if it was "full"
  132.           that is it was a short string and already had 255 characters.
  133.  1.10:  + More inTdfsElligent auto hint handling.
  134.           Replaced the old AutoHint property with AutoHintOptions property.
  135.         + Did not properly account for BorderWidth property. Fixed.
  136.  1.00:  + Initial release
  137.  
  138.