📄 history.txt
字号:
Added RegistryKey property of TRegistryKeyEh type.
+ Added (in source included version only) preview version of the
TMemTableEh component. Dataset, which hold all its data in memory,
furthermore can fetch data from other dataset's, unload changes
back to dataset and support special interface, that allow to
view all data without changing active record.
See detail info in AdvTech\MemTableEh\readme.txt dir.
+ In DBGridEh: Added support of IMemTableEh interface in DataSet
that allow to view all data, without changing active record.
Version 3.0
In TDBDateTimeEditEh
+ New values in TDateTimeKindEh type (property Kind).
TDateTimeKindEh = (dtkDateEh, dtkTimeEh, dtkDateTimeEh, dtkCustomEh);
+ Added EditFormat property. Now you can type custom date/time format using
next format elements: 'YY', 'YYYY', 'MM', 'DD', 'HH', 'NN', 'SS'.
Library is divided to design-time and run-time packages.
EhLib[XX] - run-time package and DclEhLib[X] - design-time packages,
where [XX] is digit number of VCL version:
[40] for Delphi 4, [50] for Delphi 5, etc;
And EhLibB[XX] with DclEhLibB[XX] for C++ Builder.
Upon installation, all components is placed to the separate page in
components palette with name - 'EhLib'.
Note that Delphi IDE does not move components to the new default
place when you install new version of same component(s). So if you
already has EhLib installed, then installation new (3.0) version
does not move EhLib components to the 'EhLib' page on components palette.
To force Delphi IDE to move compontes to the default place on
components palette do next:
Open menu: Component->Configure Palette.
Select '[All]' line in Pages listbox.
Click 'Default Pages' button.
New componetns: TPropStorageEh, TIniPropStorageManEh, TRegPropStorageManEh.
Components realize technology to store components properties to/from settings
storage such as ini files, registry etc.
+ Added (in source included version only) design-time ClientDataSet edit
window. See detail info in AdvTech\CDSDesign\readme.txt dir.
Version 2.6
+ Added Windows XP themes support (Only under Delphi 7).
+ Added (in source included version only) preview restricted
version of EhLibCLX - EhLib under Borland Component Library for
Cross-Platform.
See detail info in AdvTech\EhLibCLX\readme.txt dir.
+ Added (in source included version only) preview version of technology
to store components properties to/from settings storage such as
ini files, registry etc.
See detail info in AdvTech\PropStorage\readme.txt dir.
Version 2.5
+ Added Delphi 7 support.
+ New units: CalculatorEh - TCalculatorEh, TPopupCalculatorEh
DbUtilsEh - Utilities to sort data in DataSet from DBGrid
EhLibADO - Register object that sort data in TADOQuery
EhLibBDE - Register object that sort data in TQuery
EhLibCDS - Register object that sort data in TCustomClientDataSet
In TDbGridEh
+ Added possiblity to sort data in DataSet after sorting markers
will be changed. You have to add dlgAutoSortMarkingEh to OptionsEh,
set TColumnEh.Title.TitleButton to True for required columns,
keep OnSortMarkingChanged event empty, add one of the units
EhLib... (EhLibADO, EhLibBDE, EhLibCDS) to 'uses' clause of any unit of your
project. Now EhLib have objects to sort data in TClientDataSet, TQuery
and TADOQuery. You have to write and register your own object to sort data
in DataSet that not present in this list.
+ Added SortLocal property in TDBGridEh. Objects that sort data in DataSet
can use this property to determine how to sort data, on client or on server.
+ Changed highlight coloring in TDBGridEh for multiselected cells and
active cell when TDBGridEh have not focus when color mode have more then
256 color. I recombinate you to use dgAlwaysShowSelection in Options
and dghRowHighlight in OptionsEh.
If you want to keep old method of highlighting for all grids set
DBGridEhDefaultStyle.LuminateSelection to false (at run time).
In TDBNumberEditEh and TColumnEh
+ Added dropped down calculator in TDBNumberEditEh and TColumnEh for numbered
fields (need set TColumnEh.ButtonStyle to cbsDropDown).
In TColumnEh
+ Added DisplayFormat and EditMask properties.
In TColumnFooterEh
+ Added DisplayFormat property.
Version 2.4
+ Added MRUList property (Most recently used values) in all edit
controls and TCloumnEh. If MRUList is Active then in time of edit text
the special listbox will be dropded down where users can select last entered
values. When user leave edit control or inplace editor in the grid the value
will be added in MRUList.
MRUList: TMRUListEh = class(TPersistent)
property Active: Boolean - MRU list will drop down in time of edit text.
property CaseSensitive: Boolean - take into account char case.
property Items: TStrings - list of items.
property Limit: Integer - max count of items. Old will be deleted.
property Rows: Integer - Count of rows in dtop down window.
end;
To distinguish MRU dropdown box from other, all other dropdown boxes have 3D border.
+ Added new component - TDBCheckBoxEh.
Can works as in data-aware mode as in usual not data-aware mode.
If DataField and DataSource properties is not assigned then
checkbox works in usual not data-aware mode.
Have Flat and AlwaysShowBorder properties to show in the flat mode.
In TDropDownBoxEh (TColumnEh.DropDownBox, TLookupComboBoxEh.DropDownBox) added property
+ ListSource of TDataSource type.
This property will be used when lookup inplace editor in the grid or
LookupComboBox have focus. It allows to have different list of
lookup list values for different records of master data.
In TDBSumList
+ Added OnAfterRecalcAll event. Event is call after SumList recalculate
aggregated values.
In TDbGridEh
+ Added OnSumListAfterRecalcAll event.
Version 2.3
+ Added C++ Builder 6 support.
In TDBDateTimeEditEh and TDBComboBoxEh
+ Added OnCloseUp and OnDropDown events.
In TDBGridEhScrollBar class (DBGridEh.VertScrollBar, HorzScrollBar)
+ Added property ExtScrollBar: TScrollBar.
Now you can attach external scrollbars to the grid.
DBGridEh.VertScrollBar can be show in three mode:
Always show, Never show, Auto show.
Use property DBGridEh.VertScrollBar.VisibleMode.
INCOMPATIBILITY: To be more look like DBGrid component the DBGridEh component
select row (multiselect) on first mouse click when Options have dgMultiSelect
value and AllowedSelections have not gstRectangle value.
Version 2.2
In TDBEditEh
+ Added properties WantTabs and WantReturns.
INCOMPATIBILITY: In TColumnEh all published properties moved to public section.
New TDBGridColumnEh object added that inherited from TColumnEh and have
properties in published section. TDBGridEh uses TDBGridColumnEh to create
columns. You can have incompatibility if you inherit TColumnEh object.
Use TDBGridColumnEh object now.
+ Dropdown box in TDBLookupComboBoxEh and TColumnEh for look fields
now inherited from TCustomDBGridEh. Now dropdown box can have
MultiTitle, can fit columns width to window width, can have column lines
and row lines, allows to change column widths, can have sortmarkers in titles,
have event that calls when user press title, allows to change characteristics
of individual column.
RESTRICTION: In EhLIb compiled under Delphi 4 or CBuilder 4 dropdown box
can not resize or move columns or click the titles.
+ Added new unit - DBLookupGrid.Pas, contains TPopupDataGridEh component that
uses as Dropdown box in TDBLookupComboBoxEh and TColumnEh for look fields.
In TColumnEh
+ Added property DropDownBox of TColumnDropDownBoxEh type
TColumnDropDownBoxEh = class(TPersistent)
property AutoFitColWidths: Boolean;
property ColumnDefValues: TColumnDefValuesEh;
property Columns: TDBGridColumnsEh;
property Options: TDBLookupGridEhOptions;
property UseMultiTitle: Boolean;
end;
using properties of DropDownBox property you can control
dropdown box for inplace editor of columns that connected
to lookup fields.
In TDBLookupComboboxEh
+ Added
property AutoFitColWidths: Boolean;
property ColumnDefValues: TColumnDefValuesEh;
property Columns: TDBGridColumnsEh;
property Options: TDBLookupGridEhOptions;
property UseMultiTitle: Boolean;
in TLookupComboboxDropDownBoxEh object
(TDBLookupComboboxEh.DropDownBox property)
In TColumnEh and TDBLookupComboboxEh
+ Added events
OnDropDownBoxCheckButton - Occurs to define is there title can be pressed.
OnDropDownBoxDrawColumnCell - Occurs when the dropdown box needs to paint a cell.
OnDropDownBoxGetCellParams - Occurs when the dropdown box needs to paint a cell.
OnDropDownBoxSortMarkingChanged - Occurs after changing sortmarker.
OnDropDownBoxTitleBtnClick - Occurs after clicking on title button.
Version 2.1
Added new file EhLibConsts.Pas - contains resource of strings.
Added partially support of BiDirection.
Added partially support of the Double-Byte Character Set.
In TDBGridEh
+ Added property FieldColumns;
property FieldColumns[const FieldName: String]: TColumnEh; default;
So you can use next syntax to access column by
filed name: DBGridEh1['FieldName']
In TDBEditEh, TDBDateTimeEditEh, TDBComboBoxEh, TDBNumberEditEh and TColumnEh
added property
+ EditButtons of TEditButtonsEh type.
Class TEditButtonsEh is a collection of TEditButton classes.
So the edit controls and columns can have several edit buttons.
In TDropDownBoxEh added property
+ SpecRow of TSpecRowEh type.
In TColumnEh added property
+ DropDownSpecRow of TSpecRowEh type.
TSpecRowEh = class(TPersistent)
property CellsText: String;
property Color: TColor;
property Font: TFont;
property Value: Variant;
property Visible: Boolean;
property ShortCut: TShortCut
property ShowIfNotInKeyList: Boolean;
end;
TSpecRowEh represent the special row in dropdown box for lookup
fields in column of DBGridEh and in TDropDownBoxEh class of
TDBLookupComboboxEh component. This row will be active when lookup
field or lookupcombobox have value equals specrow value or when
value not in list of key value.
* In the OnButtonClick event for TDBComboBoxEh,
TDBLookupComboboxEh, TDBDateTimeEditEh the Sender parameter is
TEditButtonControlEh object. Use TEditButtonControlEh(Sender).Parent
syntax to access the edit control whose button have been clicked.
Version 2.0
EhLib 2.0 does not support Delphi 3 or C++ Builder 3.
In TDBGridEh
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -