home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / delphi / kompon / d3456 / LSPICEDT.ZIP / LsPictureEditor.txt < prev    next >
Encoding:
Text File  |  2001-09-06  |  7.0 KB  |  191 lines

  1.  
  2. LsPictureEditor and LsPictureExplorer
  3. =====================================
  4.  
  5. ******************************************************************************
  6. Archive File  : PictEdit.zip
  7.  
  8. Contents      : (1) LsPictureEditor, that is a Design-Time Property Editor
  9.                     for Bitmaps(Glyphs) and Pictures, replacing the default
  10.                     property editor in the Object Inspector.
  11.                 (2) LsPictureExplorer, that is an executable utility program,
  12.                     demonstrating the functions of LsPictureEditor.
  13.  
  14. Version       : 2.40  for Delphi versions 3, 4, 5 and 6.
  15.  
  16. Latest Update : September 2001.
  17.  
  18. Author        : Leo D. Shih  e-mail <ldshih@ecn.ab.ca>
  19.  
  20. Copyright     : (C)1998-2001 by Leo D. Shih,  all rights reserved.
  21.  
  22. Disclaimer    : The current version of LsPictureEditor and LsPictureExplorer
  23.                 (the software) are distributed as freeware without warranty
  24.                 of any kind, expressed or implied. Use of this software is
  25.                 at your own risk.
  26. ******************************************************************************
  27.  
  28. Description
  29. ===========
  30.  
  31. 1. LsPictureEditor is a Design-Time Bitmap (Glyph) and Picture property
  32.    editor for the Object-Inspector, which allows you to:
  33.  
  34.    1.1 browse your glyph collections in an array of SpeedButtons, in both
  35.        enabled- and  disabled-state,  thus you can select your desired
  36.        glyph visually from the displayed glyphs, instead of guessing at
  37.        fileNames;
  38.    1.2 convert Icons to Bitmaps (in 16-, 256- or HiColor), with user definable 
  39.        rectangle parameters, in order to adapt icons as button glyphs;
  40.    1.3 copy selected image to ClipBoard for pasting to other applications;
  41.    1.3 access to frequently used image collections (directories which contain
  42.        *.bmp, *.ico and/or *.wmf files) through the use of BookMarks.
  43.  
  44. 2. LsPictureExplorer is an executable utility program, that demostrates all the
  45.    functions of LsPictureEditor.
  46.  
  47. Files Supplied
  48. ==============
  49.  
  50. PictEdit.zip consists of the following type of files, which are required
  51. for installing the LsPictureEditor and LsPictureExplorer:
  52.  
  53. 1. Common Files
  54.    ------------
  55.    LsPEPicture.ini     - IniFile that contains BookMarks information
  56.                          (For simplicity of coding, INIFile is used instead of
  57.                          RegIniFile or System Registry)
  58.  
  59.    LsPictureEditor.txt - this file
  60.  
  61. 2. Files for LsPictureEditor
  62.    -------------------------
  63.    LsPicEditorMainD?.pas    Main unit
  64.    LsPicEditorMainD?.dfm    Main unit form file
  65.    LsPicEditorViewD?.pas    Full-size viewing unit
  66.    LsPicEditorViewD?.dfm    Full-size viewing form
  67.    LsPicEditorRegD?.pas     File for registering LsPictureEditor
  68.  
  69.    LsPictureEditorD?.dpk    Package source files
  70.  
  71.    NOTE:-  Where '?' is the delphi version number (i.e.  3, 4, 5 or 6)
  72.  
  73. 3. Files for LsPictureExplorer
  74.    ---------------------------
  75.  
  76.    LsPicEditorMain.pas      Main unit
  77.    LsPicEditorMain.dfm      Main unit form file
  78.    LsPicEditorView,pas      Full-size viewing unit
  79.    LsPicEditorView.dfm      Full-size Viewing form
  80.    LsPictureExplorer.dpr    Project file
  81.    LsPictureExplorer.exe    Compiled Utility
  82.    LsPictureExplorer.res    Resource file
  83.  
  84. Installation
  85. ============
  86.  
  87. 1. Decompress the archive PictEdit.zip in any directory. Files for Delphi
  88.    versions 3, 4, 5 and 6 are separately saved in D3, D4, D5 and D6
  89.    sub-directories respectively.
  90.  
  91. 2. Copy LsPEPicture.ini file to your C:\windows directory. It may be necessary
  92.    to be edited, in order to ensure that the path of those directories
  93.    in the [Path] Section are correct.
  94.  
  95. 3. Depending on your version of Delphi, copy files from D3, D4, D5 or D6
  96.    sub-directory into a directory that is in the Delphi Library Search Path.
  97.  
  98. 4. Close all open projects in the IDE.
  99.  
  100. 5.
  101.    - Choose File | Open;
  102.    - Open Delphi Package Source file LsPictureEditorD6.dpk for Delphi6 from the 
  103.      FileOpenDialog (or LsPictureEditorD5.dpk, LsPictureEditorD4.dpk or 
  104.      LsPictureEditorD3.dpk for D5, D4 or D3 respectively);
  105.    - When the Package Editor appears, click Compile button to compile the
  106.      package into .BPL file (.DPL file in D3);
  107.    - Upon completion of compiling,  click Install button to install
  108.      TLsPictureEditor as a replacement of the default TPicture and TBitmap
  109.      property editor in Object Inspector.
  110.    - Save the Package.
  111.  
  112. Uninstall TLsPictureEditor
  113. ==========================
  114.  
  115. To uninstall LsPictureEditor from Delphi, follow these steps:
  116. 1. Click 'Component' in main-menu, then select 'Install Packages';
  117. 2. From the 'Design packages' list, select 'Lds Property Editor - Bitmap &
  118.    Picture';
  119. 3. Click 'Remove' then 'OK'.
  120.  
  121.  
  122. Using TLsPictureEditor
  123. ======================
  124.  
  125. Click '...' button next to Glyph or Picture Property, or double-click the
  126. Value column, in the Object Inspector,  the LsPictureEditor will popup.
  127. All controls in the LsPictureEditor are provided with sufficient Help Hints
  128. or Help Text in the StatusBar, thus making it self explanatory and easy to use.
  129.  
  130. Please note that due to difference in minor-versions of Delphi's, you may
  131. encounter error message(s) on activating LsPictureEditor, viz:
  132.  
  133.        "Error reading PEMainForm.Font Charset: Property
  134.         does not exist" (or something like this)
  135.  
  136. If such condition occurs,  you can take following steps to correct it:
  137. (a)  Remove the package/component from your Delphi;
  138. (b)  Open LsPicEditorMainD?.pas in IDE;
  139. (c)  When error message appears, click "Ignore All", then save and close
  140.      the file;
  141. (d)  Open LsPicEditorViewD?.pas in IDE, and repeat (c);
  142. (d)  Re-install the package/component.
  143.  
  144.  
  145. Update History
  146. ==============
  147.  
  148. Version 2.4
  149. -----------
  150.   - Added Delphi 6 compatible files. 
  151.  
  152. version 2.3
  153. -----------
  154.   - Fixed bug in BookMarks section.
  155.   - Prevent AV errors, if the INI-File 'LsPEPicture.ini' is not in the 
  156.     Windows directory or its key values are empty. 
  157.     
  158. version 2.2
  159. -----------
  160.   - Erroneous operation of "Bookmarks" button in Delphi 3  fixed.
  161.   - Corrected premature closure whilst cancelling Icon-to-Bmp conversion.
  162.   - Some change made in order to prevent "List index out of order" error
  163.     under certain operating conditions.
  164.  
  165. version 2.1
  166. -----------
  167.   - The procedure related to Icon-to-Bitmap conversion was re-coded to
  168.     provide color-depth settings and size-control for bitmaps.
  169.   - User interface re-designed.
  170.  
  171.  
  172. Version 2.0
  173. -----------
  174.   - Replaced all D1 compatibility components by Win32 components, thus
  175.     providing more friendly user inteface.
  176.   - Improved algorithm for viewing glyphs.
  177.   - Updated to be compatible with Delphi 5.
  178.  
  179.     NOTE:- The DsgnIntf Unit is no longer provided in the Delphi 5 Lib
  180.            directory, but there is no trouble to compile this program
  181.            under Delphi 5 because the DsgnIntf unit is still contained
  182.            in the VCL50 package.
  183.  
  184. Version 1.0
  185. -----------
  186.   First release.
  187.  
  188. Version 0.8
  189. -----------
  190.   Last Beta release.
  191.