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

📄 history.txt

📁 最新的 DBGRIDEH4.0
💻 TXT
📖 第 1 页 / 共 4 页
字号:
     + For columns that attached to lookup Fields it support
       possibility of changing values if TField.KeyFields and
       TField.LookupKeyFields is kept a list of several
       names of fields (list is separated by semicolon).

     + In TDBGridEhOption type (OptionsEh propery) dghRowHighlight
       value is added - it allows to highlight current record.

     + Added crpDropDownRowsEh and crpDropDownWidthEh values
       in TColumnEhRestoreParam type, it allows to save and restore
       DropDownRows and DropDownWidth properties of TColumnEh
       in/from the registry or ini file.   

     + Added property AllowedSelections: TDBGridEhAllowedSelections;
       TDBGridEhAllowedSelections = set of 
           (gstRecordBookmarks, gstRectangle, gstColumns, gstAll);
       Defines what types of selection is available in grid.
       dgMultiSelect value in Options property also affects 
       available of selection.

     + Added property ColumnDefValues: TColumnDefValuesEh
        TColumnDefValuesEh = class(TPersistent)
          AlwaysShowEditButton: Boolean
          EndEllipsis: Boolean
          AutoDropDown: Boolean
          DblClickNextVal: Boolean
          ToolTips: Boolean
          DropDownSizing: Boolean
          DropDownShowTitles: Boolean
          Title.Alignment: TAlignment
          Title.Color: TColor
          Title.TitleButton: Boolean
          Title.EndEllipsis: Boolean
          Title.ToolTips: Boolean
          Title.Orientation: TTextOrientationEh

       defines default values for newly created colonies.

  In TColumEh
       + Added OnNotInList event. Operates when user enter 
          a text not kept in the list of values. If this event 
          is assigned then user is automatically allowed to enter 
          a text not kept in the list. Event makes sense if row
          is based on lookup field or PickList is filled or
          PickList and KeyList is filled.

       +  Added OnGetCellParams event:
            TGetColCellParamsEventEh = procedure (Sender: TObject; 
               EditMode: Boolean; Params: TColCellParamsEh) of object;
            TColCellParamsEh = class
              property Col:Longint;
              property Row:Longint;
              property State: TGridDrawState;
              property Font: TFont read FFont;
              property Background: TColo;
              property Alignment: TAlignment;
              property ImageIndex: Integer;
              property Text: String read;
              property CheckboxState: TCheckBoxState;
              property ReadOnly: Boolean;
            end;
          Requests the parameters of cell before draw/editing.

        + Added OnUpdateData event:
            TColCellUpdateDataEventEh = procedure(Sender: TObject; 
               var Text: String; var Value: Variant; 
               var UseText: Boolean; var Processed: Boolean) of object;

           Operates when writing data from InplaceEditor in DataSet field.
           You can change text or value, UseText defines what parameter 
           is used for writing: Text or Value. You may themselves write 
           data to the field and sets Processed in True.

         + Added OnEditButtonClick event:
            TButtonClickEventEh = procedure(Sender: TObject;
              var Handled: Boolean) of object;

         + Added OnEditButtonDown event:
             TButtonDownEventEh = procedure(Sender: TObject; TopButton: Boolean;
               var AutoRepeat: Boolean;  var Handled: Boolean) of object;
           TopButton - when style of the button ebsUpDownEh, defines 
             that pressed upper button.
           AutoRepeat - repeat events if mouse is keeping pressed.


  In TDBSumListProducer 
       * State Of working group operations goCount is changed. When in 
         TDBSum installed by GroupOperation = goCount and
         FieldName <> '' that SumValue will contain an amount of records
         for which field <FieldName> is not Null.

  In TDBLookupComboboxEh

   * Component has changed an ancestor, so possible inconsistency of
     functioning with the preceding version.

   + Supports working with lookup fields that containing in
     TField.KeyFields and TField.LookupKeyFields properties the list of
     the several names of fields, in the same way possible enter a list
     of several names of fields in DataField and KeyField properties of
     combobox. List of field names must be separated by semicolon
     (For instance: 'CustNo;EmpNo').

   + Added OnButtonDown event:
       TButtonDownEventEh = procedure(Sender: TObject; TopButton: Boolean;
          var AutoRepeat: Boolean;  var Handled: Boolean) of object;
       TopButton - when style of the button ebsUpDownEh, defines
       that pressed upper button.
       AutoRepeat - repeat events if mouse is keeping pressed.

  Added 4 new components:

  TDBEditEh - to edit text values.
  TDBDateTimeEditEh - to edit date or time values.
  TDBComboBoxEh - to edit text values with capacity to
                  select values from list.
  TDBNumberEditEh - to edit numeric values.


  Common features in all components.

    Can works as in data-aware mode as in usual not data-aware mode.
    If DataField and DataSource properties is not assigned then
    component works in usual not data-aware mode.

    Have Flat and AlwaysShowBorder properties to show
    in the flat mode.


    Have Text (String type) and Value (Variant type) properties.
    Moreover Value can accept Null value or:
    String type for TDBEditEh and TDBComboBoxEh,
    TDateTime, TDate, TTime, Double type for TDBDateTimeEditEh,
    all numeric types for TDBNumberEditEh.

    Have an OnUpdateData event that occurs before writing data
    in DataSet field or in internal variable when not data-aware mode.
    Event is call when component lose the focus or
    when DataSet send PostData event.


  Individual features of components.

    TDBEditEh, TDBComboBoxEh and TDBLookupComboboxEh have WordWrap
    propertiy to show and edit multiline text. Don't forget to hang
    up AutoSize propertiy if you want to change and fix a height of
    the control.

Version 1.7

   + Added Delphi 6 support.

   In TDBLookupComboboxEh
     + Added AlwaysShowBorder propery.

   * Some bugfixes.

Version 1.61

    In TDBLookupComboboxEh
     + Added OnNotInList event. Event occurs when the user enters a value
         that isn't in the lookup list.

    In TDBSumListProducer
     + Added group operation goAvg to calculate average values.

    In TPrintDBGridEh
     + Added OnBeforePrint and OnAfterPrint events to write specifyed action
        before or after grid have been printed/previewed.

    In TDBGridEh
     + Added possibility to set aggregate fields in footers at design time.
       So you can use more powerful mechanism of aggregate values imbedded
       in TClientDataSet component.

   * Some bugfixes.

Version 1.6

    + Added new component TDBLookupComboboxEh:
      Provides all functionality of TDBLookupCombobox and adds 
      several new features as follows:
        Can have flat style.  
        Allows assign values as to KeyValue property just and to 
          display Text property.
        Allows to type (assign) values to Text property not 
          contained in data list (Style = csDropDownEh).
        Allows to hold KeyValue and Text as not affecting to 
          each other values. Take effect when KeyField, ListField, 
          ListSource, DataField and DataSource properties is empty.
        Drop down list can:
          Show titles,
          Have sizing grip,
          Automaticaly set width as sum of DisplayWidth of 
            the list fields (Width = -1),
          Automaticaly drops on user pressed the key.
        Edit button can:
          Show DropDown, Ellipsis or Bitmap image.
          Have specified width.
        Have additional events: OnKeyValueChanged, OnButtonClick.

   In TDBGridEh
    + In Flat mode shows edit buttons just as flat.

   In TColumnEh
    + Added DropDownShowTitles property. 
    
   * Some bugfixes.


Version 1.58

   In TDBGridEh
    + Added dghIncSearch and dghPreferIncSearch values in TDBGridEhOption 
       type (property OptionsEh).
         dghIncSearch value allows to do increment search in grid.
         dghPreferIncSearch value determine that the grid prefer increment 
         search to cell editing.
        At run time you can use next key for increment searching:
          Ctrl+F - to begin increment searching.
          Ctrl+Enter - to search next matching.
          Ctrl+Shift+Enter - to search prior matching.
        If dghIncSearch in OptionsEh and column is read only then grid
        will set increment search mode automatically on first key press 
        and will set normal mode after 1.5 sec.
 
   In TColumnEh
    + Added Tag property. Tag has no predefined meaning. The Tag property 
        is provided for the convenience of developers.
    + Added DropDownSizing property. Set DropDownSizing to True to allow 
        users to resize dropdown lookup or picklist window.

   * Some bugfixes.

Version 1.57

   TPassthroughColumn class has been unloaded. In csDefault and csCustomized 
    state uses the same class TColumnEh. It allows to inherit TDBGridEh class
    and add new properties in TColumnEh class.  

   In TColumnEh
    + Allows to show tooltips text for KeyImage based columns. 
        When you adjust column properies to show bitmaps depending on field 
        values you can fill also PickList propery by values of tooltip text.
        Set also Tooltips property to True and ShowHint property of DGBGridEh 
        to True. At runtime by moving mouse above image will forces to show 
        text from PickList in tooltips window.

   In TColumnTitleEh 
    + Added property Orientation: TTextOrientationEh;
        TTextOrientationEh = (tohHorizontal, tohVertical);
        Allows to draw text vertically. Only single line text support for
        vertical orientation.  

   * Some bugfixes.

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,

⌨️ 快捷键说明

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