⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 history.txt

📁 Delphi控件源码
💻 TXT
字号:
EhLib history

Version 1.56

  Added new unit "DBGridEhImpExp.pas" that containt objects and routines:
    1. To export DBGridEh at next formats: Text, Csv, HTML, RTF, XLS and
        internal format for interchange between DBGridEh's (VCLDBIF).
     procedure SaveDBGridEhToExportFile( ExportClass: TDBGridEhExportClass;
       DBGridEh: TCustomDBGridEh; const FileName: String; IsSaveAll: Boolean);
     procedure WriteDBGridEhToExportStream( ExportClass: TDBGridEhExportClass;
       DBGridEh: TCustomDBGridEh; Stream: TStream; IsSaveAll: Boolean);

     Where the ExportClass parameter is one of the next classes:
        TDBGridEhExportAsText, TDBGridEhExportAsCsv, TDBGridEhExportAsHTML,
        TDBGridEhExportAsRTF, TDBGridEhExportAsVCLDBIF or TDBGridEhExportAsXLS.
            IsSaveAll parameter indicates whether to export whole grid or
        only selection.

    2. To import DBGridEh from Text and internal format (VCLDBIF).
      procedure LoadDBGridEhFromImportFile( ImportClass: TDBGridEhImportClass;
        DBGridEh: TCustomDBGridEh; const FileName: String; IsLoadToAll: Boolean);
      procedure ReadDBGridEhFromImportStream(ImportClass: TDBGridEhImportClass;
        DBGridEh: TCustomDBGridEh; Stream: TStream; IsLoadToAll: Boolean);

     Where the ImportClass parameter is one of the next classes:
        TDBGridEhImportAsText, TDBGridEhImportAsVCLDBIF.


    3. To Copy, Paste, Cut DBGridEh to/from clipboard.
      procedure DBGridEh_DoCutAction(DBGridEh: TCustomDBGridEh; ForWholeGrid:Boolean);
      procedure DBGridEh_DoCopyAction(DBGridEh: TCustomDBGridEh; ForWholeGrid:Boolean);
      procedure DBGridEh_DoPasteAction(DBGridEh: TCustomDBGridEh; ForWholeGrid:Boolean);
      procedure DBGridEh_DoDeleteAction(DBGridEh: TCustomDBGridEh; ForWholeGrid:Boolean);

  In TDBGridEh
    + Added property EditActions: TDBGridEhEditActions.
        TDBGridEhEditAction = (geaCutEh, geaCopyEh, geaPasteEh, geaDeleteEh,
                               geaSelectAllEh);
        TDBGridEhEditActions = set of TDBGridEhEditAction;
        Specifies actions (inherited from TEditAction) that grid can update and
          execute.
    + Added some functions to support edit actions.

  * Although this version of EhLib can export to XLS (Biff) format, MS Excel can not 
     accept this data from clipboard. Probably I don't completely correct write to 
     this format. Please let me know if you have detail information about Biff format.

Version 1.55

  In TDBGridEh
    + Added dghTraceColSizing value in TDBGridEhOption type (property OptionsEh).
         dghTraceColSizing: Determines whether the column size changes before
         mouse button is released.
      dghTraceColSizing is not supported under Delphi 3.
    + Procedures SaveColumnsLayout, RestoreColumnsLayout, SaveGridLayout,
        RestoreGridLayout overloaded to support TCustomIniFile in addition to
        TRegIniFile.
    + Added OnColWidthsChanged event. Occurs immediately after the column widths
        change.
    + Added Flat property. Makes the grid 3D borders more thinner, makes the
        grid rows more narrow, makes the fixed line gray.

  In TPrintDBGridEh
    + Added support of the macro "&[Pages]" in PageColontitles.
      &[Pages] substitutes the count of pages.


Version 1.54

  + Added C++ Builder 5 support.
  In TDBGridEh
    + Added dghEnterAsTab value in TDBGridEhOption type (property OptionsEh).
         dghEnterAsTab:	Enter key behaves as Tab key.


Version 1.53

  + Added allows to set focus to and resize of the frozen columns.

  In TDBGridEh
   + Added property FooterFont: TFont. Controls the attributes of the default
      footer font.
   + Added property FooterColor: TColor. Default background color of the footer.

  In TColumnEh
   + Added property ToolTips: Boolean. Allows to show hint for text that don't
      fit in data cell.
   + Added property Footers: TColumnFootersEh. Allows to assign individual footer
      parameters for multiple footer rows.

  In TColumnTitleEh
   + Added property ToolTips: Boolean. Allows to show hint if text don't fit in
      title cell.

  In TPrintDBGridEh
   + Added pghFitingByColWidths, pghOptimalColWidths values in
      TPrintDBGridEhOption type.  pghFitingByColWidths: allows to fit grid to
      page width by changing column widths (not scaling whole image).
       pghOptimalColWidths: change column widths to fit text in the cells.
   + Added BeforeGridText: TStrings property to print/preview the rich text
      before grid.
   + Added AfterGridText: TStrings property to print/preview the rich text after
      grid.
   + Added procedure SetSubstitutes to set substitutes for BeforeGridText and
      AfterGridText.


Version 1.52

  In TPrintDBGridEh
   + Added possibility to Print/Preview of the selected area of TDBGridEh.
  In TDBGridEh
   + Added property TitleImages to show bitmap in titles instead of caption.
   + Added property AllowedOperations: TDBGridEhAllowedOperations;
       TDBGridEhAllowedOperation = (alopInsertEh, alopUpdateEh,
                                    alopDeleteEh, alopAppendEh)
       to forbid/allow insert, append new records; delete, update records.
  In TColumnEh
   + Added cbsDropDown value in ButtonStyle property.
  In TColumnTitleEh
   + Added Hint property to show hint text above title for narrow columns.
   + Added ImageIndex property to show bitmap instead of caption text.

  + Mouse wheel support in TDBGridEh and TPreveiwBox
  * Some bugfixes.

Version 1.51

  In TDBGridEh
   + Added allows to create one title for several columns in frozen
     and nonfrozen zones simultaneously (in MultiTitle mode).
   * In RowSelect mode change column widths don't move view to
     first column.
   + Added selecting a columns and rectangle areas
     Added property Selection: TDBGridEhSelection;
       TDBGridEhSelection contains next properties
          SelectionType: TDBGridEhSelectionType;
             TDBGridEhSelectionType = (gstNon, gstRecordBookmarks,
                                       gstRectangle, gstColumns, gstAll);

          Columns: TDBGridEhSelectionCols;
          Rect: TDBGridEhSelectionRect;
          Rows: TBookmarkListEh;
       see EhLib.hlp and DEMO1 for detail.
   * Clicks on left top cell in grid sets SelectionType = gstAll, but not
      selects all records.
   + When DragMode = dmAutomatic and dgMultiSelect is included in Options
      the grid enters in Dragging mode only when user pressed mouse on
      multiselected data area (not includes title, indicator and
      footer areas).

      This version don't support print and preview of the selected area yet.

 * Some bugfixes.

Version 1.5

  IMPORTANT FOR C++ BUILDER DEVELOPERS
  ALL COMPLETIONS "EH" ARE REPLACED BY "Eh"

 * Help file compiled under english localization settings
 + Added Delphi 5 support.
 + Added new component TPrintDBGridEh for printing and preview
   of TDBGridEh.
 + Added new component TPreviewBox for customizing preview form.
 + Added new object TPrinterPreview to direct printable stuff to
   the preview box.

  In TDBGridEh
   * Highlighted frozen cells in rowselect mode
   * Allows press title buttons and move columns by left mouse
       button simultaneously.

  In TColumnEh
   + Added cbsUpDown value in ButtonStyle property.
   + Added Increment property. Works when ButtonStyle =  cbsUpDown.

 * Some bugfixes.


Version 1.03

  New help file that can be inserted in Delphi help system.
  Included support Borland C++ Builder versions 3 & 4.

  In TDBGridEH
    + Added dghAutoSortMarking, dghMultiSortMarking
        values in TDBGridEhOption type (property OptionsEh).
         dghAutoSortMarking         Automaticaly marking title
                                    by SortMarking images.
         dghMultiSortMarking        Allow sortmarking multiple columns.
                                    At runtime use Ctrl + Mouse combination
                                    for multisortmarking.
    + Added event OnSortMarkingChanged : TNotifyEvent;
    + Added procedure SaveGridLayout(ARegIni: TRegIniFile);
    + Added procedure RestoreGridLayout(ARegIni: TRegIniFile;
                RestoreParams:TDBGridEhRestoreParams);
    + Added procedure SaveGridLayoutIni(IniFileName: String;
                Section: String; DeleteSection: Boolean);
    + Added procedure RestoreGridLayoutIni(IniFileName:
                String; Section: String; RestoreParams:TDBGridEhRestoreParams);
  In TColumnEH
    + Added property Checkboxes: Boolean. Determine need show checkboxes
       enstead of text. Checkboxes automativcaly true for boolean field.
       For non boolean fill first line of KeyList for checked checkboxes.
       Second line for nonchecked.

  * Some bugfixes.

Version 1.02

  In TDBGridEH
     + Added multyline editing.
     + Added edit of memo fields.
     + Added dghHighlightFocus, dghClearSelection, dghFitRowHeightToText
        values in TDBGridEhOption type (property OptionsEh).
	dghHighlightFocus              Highlight a focus cell
        dghClearSelection              Clear selected rows after selecting
        dghFitRowHeightToText          Fit row height to height of text lines
     + Added multiselect by the mouse.
     + Added trace a focus cell by the mouse.

  * Some bugfixes.

Version 1.01
  In TDBGridEH
     + Added HorzScrollBar and VertScrollBar properties to control 
        the scrollbar in grid.
     + Added OptionsEh properties to specifies various display and behavioral 
        properties of grid.
     + Added SaveColumnsLayoutIni and RestoreColumnsLayoutIni procedures to 
        save and restore some grid parameters in/from ini file.
     + Added support to show drop down calendar for TDate and TDateTime fields.

  In TColumnEH
     + Added DblClickNextVal property to set next value for some type of 
        column on double mouse click.
     + Added KeyList property to show bitmaps from ImageList depending on
        field value and to show text from PickList.
     + Added ImageList property to show bitmaps depending of field value.
     + Added MaxWidth, MinWidth property to limit column width.
     + Added NotinKeyListIndex to show image for null field value.
  
  In TDBSumList
     + Added support to work with no sequenced dataset as with sequenced.

  * Some bugfixes.

Version 1.00 
  In TDBGridEH
       PROPERTY ROWSHEIGHT WAS RENAMED TO ROWHEIGHT.
       EVENT ONDRAWFOTTERCELL WAS RENAMED TO ONDRAWFOOTERCELL.
     + Added Footer property in TColumnEh object. Now you can sum
        values without using the TDBSumList component.
     + Added procedure InvalidateFooter.
     + Added procedure DefaultDrawFooterCell;
     + Added function GetFooterValue;
     + Moved function CellRect to the public section;
     + Added property SumList : TDBGridEhSumList;
     + Added event OnSumListRecalcAll : TNotifyEvent;
     + Added event OnDrawFooterCell : TDrawFooterCellEvent;
     + Added event OnGetFooterParams : TGetFooterParamsEvent;
     * Fixed a bug with an exception at design time when a column is 
        selected in the object inspector and form while TDBGridEH is closing.
     * Fixed a bug while renaming a Column.Title.Caption in 
        UseMultyTitle mode.
     * Fixed bug with unceasing redrawing of the grid if Column.ReadOnly = True
        for second columns in title on several columns.
     * Fixed bug that does not redraw data rows for some grid colors.
   In TDBSumList
     + Added property Active : Boolean.
     + Added property ExternalRecalc : Boolean.
     + Added event OnRecalcAll.
     + Added procedures Activate, ClearSumValues, Deactivate.
     * Fixed bug that does not recalculate when changing DataSet.Filter string.
     * Master/detail support.


15-Oct-1998
  TDBGridEH  v1.01
  TDBSumList v1.00

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -