我在
Tools/En..Options
加入了.pas单元
但在安装控件时找不到.pas文件
Tools/En..Options
加入了.pas单元
但在安装控件时找不到.pas文件
解决方案 »
- DBGrid需要单击两下单元格才能插入或者修改数据,能不能改为单击一下就能插入了呢?
- 求“Delphi算法与数据结构”的电子版
- 在dbcombox的下拉菜单中显示表的所有字段
- 图片存入数据库的奇怪问题
- 菜鸟级问题,TForm1.create(self)与TForm1.create(application)的区别
- 一个简单的问题:DELPHI怎么了?
- 初学者的苦恼!
- 如何屏蔽键盘中的字母键
- CSDN的同志们,我想把我的东东移到D6上去,但是我又没有支持D6的GIF控件。你们有吗?
- 对等局域网中A机的程序窗口中有一个有内容的TEDIT控件,B机如何获得A机TEDIT控件的内容??,已知A机IP地址和窗口标题。
- 怎么让我的程序在后台运行
- 请教???
设置原文件的目录
Tools->Enviroment Options->Library
Library path 把你控件目录添加进去即可
browsing path
或者
把包含控件的源文件放在$(DELPHI)\Lib;$(DELPHI)\Bin;$(DELPHI)\Imports;$(DELPHI)\Projects\Bpl;目录下
//--你的这里比较关键------------------------我也装了,很费时
过程如下
1、 delphi7文件夹以及common文件夹的内容考在一起,(把delphi7的内容拷在common目录下)
2、再environmnet option-〉library->library path 添加你的ehlib->common的目录
和browsing path
3、编译(ehlib和dclehlib)后install;readme文件中的内容:
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 files).
卸载先前版本的ehlibxx以及把(EhLib.bpl, EhLib.dcp or
EhLibXX.bpl, EhLibXX.dcp files)删除或者拷贝到其他目录Create directory from which you will install EhLib library
('EhLib directory') (for example, C:\Delphi[X]\EhLib).
创建你要安装ehlib库的目录(如: C:\Delphi[X]\EhLib)Copy files from Common and Delphi[X] directories of the EhLib archive
to 'EhLib directory'.
把 common 和 delphi[X]拷贝到ehlib文件夹Use "File\Open..." menu item of Delphi IDE to open the runtime package -
EhLibXX.Dpk.
使用"file\open.."打开运行时包EhLibXX.Dpk.In "Package..." window click "Compile" button to compile the package.
在 "Package"点击Compile编译包文件By default Delphi (5, 6 and 7) place compiled EhLibXX.BPL file 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 (
默认情况下Delphi (5, 6 and 7) 会把编译过的包文件放在<Delphi path>\Projects\Bpl 目录下,而且这个目录已经在搜索目录中了;但是如果你要覆盖默认bpl目录,你需要把编译过的EhLibXX.BPL 文件放在通过搜索可能存储的目录里,i.e. DOS "PATH" environment variable; 例如: Windows\System directory).Add, (if needed) 'EhLib directory' in Tools->Environment Options->Library->
Library Path.*****************这一句很关键
After compiling run-time package you must install design-time
package DclEhLibXX.BPL into the IDE.
然后编译运行期包,你必须安装设计期包DclEhLibXX.BPL 到IDE;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.
用"File\Open..." 菜单项打开设计期包DclEhLibXX.Dpk 并且单击Compile,接着单击Install注册组件EhLib 到组建面板当中EhLib components have to appear on 'EhLib' page of components palette.
成功安装!
祝贺你成功!