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

📄 history.txt

📁 Dbgrid 增强(附源码):支持多表头,多固定列,按表头排序,支持合计列,并支持直接打印
💻 TXT
字号:
EhLib history


Version 1.52

  In TPrintDBGridEh
   + Added possibility to Print/Preview 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 + -