EhLib V5.2.84 安装方法

安装方法:

(1)在C:/Program Files/Borland/Delphi7下, 新建目录Ehlib


(2)将Common和Delphi7中的目录的文件拷贝到上面的这个目录中


(3)在Tools->Environment Options->Library->Library Path 中添加这个目录.


(4)编译四个dpk文件:EhLib70.Dpk,EhLibDataDrivers70.Dpk,DclEhLib70.Dpk,DclEhLibDataDrivers70.Dpk


(5)在Program Files\Borland\Delphi7\Projects\Bpl文件夹中找到DclEhLib70.bpl,DclEhLibDataDrivers70.bpl文件,在component->Install package菜单中安装




全文来自:http://blog.csdn.net/xzknet/article/details/1449601

以下为全文:

安装文件自带的Readme.txt中的安装过程如下:
1. Delphi 5.x - 7.x, Delphi 9.X Win32, BDS2006 Win32:
----------------------------------------------------

Uninstall previous or evaluation version of EhLib (Old version) from Delphi 
IDE. Remove or copy to other directory files of old version to prevent 
crossing old and new version of EhLib (Including EhLib.bpl, EhLib.dcp or 
EhLibXX.bpl, EhLibXX.dcp, EhLibDataDriversXX, DclEhLibDataDriversXX files).

Create directory from which you will install EhLib library 
('EhLib directory') (for example, C:/Delphi[X]/EhLib).

Copy files from Common and Delphi[X] | BDS2006 directories of the EhLib 
archive to 'EhLib directory'.

By default Delphi (5, 6 and 7) places compiled files to the 
<Delphi path>/Projects/Bpl directory and this directory already present 
in the search PATH. But if you overwrite default BPL directory then you need
put compiled EhLibXX.BPL file into directory that is accessible 
through the search PATH (i.e. DOS "PATH" environment variable; for example, 
in the Windows/System directory).

Add, (if needed) 'EhLib directory' in Tools->Environment Options->Library->
Library Path (For Delphi 9 in Tools->Options->Environment Options->
Delphi Options->Library - Win32->Library Path).

Use "File/Open..." menu item of Delphi IDE to open the runtime package - 
EhLibXX.Dpk.
In "Package..." window click "Compile" button to compile the package.

After that open and compile EhLibDataDriversXX.Dpk.

After compiling run-time packages install design-time
packages DclEhLibXX.BPL and DclEhLibDataDriversXX.BPL into the IDE.

For that use "File/Open..." menu item to open design-time package 
DclEhLibXX.Dpk.
In "Package..." window click "Compile" button to compile the package
and then click "Install" button to register EhLib components on
the component palette.

After that open and install DclEhLibDataDriversXX.Dpk package.

EhLib components have to appear on 'EhLib' page of components palette.

概括来说,步骤如下:

(1)新建文件夹:D:/Program Files/Borland/Delphi7/下新建目录Ehlib
(2)在Tools->Environment Options->Library->Library Path 中添加这个目录.
(3)将Common和Delphi7中的目录的文件拷贝到上面的这个目录中
(4)打开runtime package - EhLib70.Dpk文件,点击"Compile"编译这个package
(5)打开并编译EhLibDataDrivers70.Dpk
(6)在编译完run-time packages 后安装DclEhLib70.BPL和DclEhLibDataDrivers70.BPL
(design-time packages)into the IDE.BPL文件在你自己定义的:$(DELPHI)/Projects/Bpl
(7)打开DclEhLib70.Dpk(design-time package)编译,然后点击"Install"to register EhLib
 components on the component palette.]
(8)最后打开和安装DclEhLibDataDrivers70.Dpk package

这个时候在Ehlib选项卡下可以看见20个Ehlib组件,安装成功

我的安装方法:

(1)编译四个dpk文件:EhLib70.Dpk,EhLibDataDrivers70.Dpk,DclEhLib70.Dpk,DclEhLibDataDrivers70.Dpk

(2)在bpl文件夹中找到DclEhLib70.bpl,DclEhLibDataDrivers70.bpl文件,在Install package菜单中安装

OK!!

接下来安装帮助文件:
Installation Help
-----------------
Copy the EhLib.hlp and EhLib.cnt files to the Delphi HELP subdirectory.
Select Help|Customize to start the OpenHelp application. Add the EhLib.cnt 
file to the Contents page, add the EhLib.hlp file to the Index and Link pages.
比较简单,这里不在赘述.
我安装完之后,测试了一下Delphi的帮助文件,发现根本找不到原来的TDBGrid组件的帮助

初步估计是这两个文件破坏了原来的帮助文件,建议大家要用时直接打开,不用安装帮助文件
了.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Ehlib 是著名的数据库连接控制,版本为5.2.84,DBgrid增强VCL控件;支持多表头,多固定列,按表头排序,支持合计列,并支持直接打印。可以和PB的ataWindow媲美。 本版本含完整源代码,支持以下 IDE: Delphi 5,6,7,2005 C++Builder 5,6 BDS 2006 (Delphi 2006, C++Builder 2006) Delphi 2007 RAD Studio 2009 (Delphi 2009, C++Builder 2009) Embarcadero RAD Studio 2010 (Delphi 2010, C++Builder 2010) 本人已在Delphi XE中运行通过,在本人编制的进销存软件中应用完全正常。 注:Delphi 2010、XE里面安装不要修改bpl文件的输出路径,采用默认值,否则安装难以成功。 Version 5.2 + Added feature to group data in the DBGridEh. It is allowed to make grouping at run-time and design-time. Grouping works only when the grid is connected to TMemTableEh dataset. Use next subproperties of Grid.DataGrouping property to adjust grouping Active: Boolean - Set this propery true to active grouping. DefaultStateExpanded: Boolean - defines initial expapnding/collapsing state of new created elements of the grouping tree. GroupLevels: TGridDataGroupLevelsEh - Collection of group levels. Use this property to create template of the grouping. GroupPanelVisible: Boolean - Set this property to True to show special panel at the top part of the grid. Then the panel is thisible it is allowed to form group levels by mouse. Drag title of the requaried column to the group panel and drop it onto panel. Font: TFont - Controls the attributes of the default font of group records in the grid. Color: Tcolor - Default background color of the group records. See demonstration project of grouping in Demos\DataGrouping directory. Version 5.1 * The type of RowPanel property was changed. Instead of Boolean type, now it is an object property with subproperies: Active: Boolean - Defines if it is possible to place cells under each over and if every propetry can have personal hight. + NavKeysNavigationType: TGridRowPanelNavKeysNavigationTypeEh - defines the order of navigation over cells in the grid when keys Up, Down, Left, Right are pressed. rpntRowT

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值