[Delphi]ExpressQuantumGrid_Suite_v5.0_Full_Source_Code_for_Delphi_7 控件包的修正及安装方法

来源:互联网 发布:安孙子素雄 知乎 编辑:程序博客网 时间:2024/05/02 00:38
1.如果运行Delphi_7,则先关闭。
    
     2.通过运行ExpressQuantumGrid_Suite_v5.0_Full_Source_Code_for_Delphi_7控件包中的Setup.exe来进行正常安装。
    
     3.删除操作系统的$(System) 目录中的以下文件:
    
     cxExtEditorsVCLD7.bpl
     dclcxExtEditorsVCLD7.bpl
    
    
     4.运行Delphi_7,启动中警告dclExtEditorVCLD7包不能加载,选择以后不再加载。
    
     5.在Delphi_7中通过Component->Install Packages..菜单路径把所有Express包删除。
    
     6.在Delphi_7中通过Tools->Environment Options->Library->Library path菜单路径打开Diredtories窗口。
    
     将这些路径删除:
     ....../Developer Express Inc/ExpressDataController/Delphi 7/Lib
     ....../Developer Express Inc/XP Theme Manager/Delphi 7/Lib
     ....../Developer Express Inc/CX Library/Delphi 7/Lib
     ....../Developer Express Inc/ExpressEditors Library 5/Delphi 7/Lib
     ....../Developer Express Inc/ExpressPageControl 2/Delphi 7/Lib
     ....../Developer Express Inc/ExpressQuantumGrid 5/Delphi 7/Lib
    
     添加这些路径:
     ....../Developer Express Inc/ExpressDataController/Delphi 7/Sources
     ....../Developer Express Inc/XP Theme Manager/Delphi 7/Sources
     ....../Developer Express Inc/CX Library/Delphi 7/Sources
     ....../Developer Express Inc/ExpressEditors Library 5/Delphi 7/Sources
     ....../Developer Express Inc/ExpressPageControl 2/Delphi 7/Sources
     ....../Developer Express Inc/ExpressQuantumGrid 5/Delphi 7/Sources
    
     7.在Delphi_7打开ExpressEditors Library 5/Delphi 7/Sources/cxEditorsVCLD7.dpk,编译但不要安装。
    
     8.在Delphi_7打开ExpressEditors Library 5/Delphi 7/Sources/dclcxEditorsVCLD7.dpk,编译并安装。
    
     9.在Delphi_7打开ExpressEditors Library 5/Delphi 7/Sources/cxExtEditorsVCLD7.dpk,从包管理器中打开cxRichEdit.pas单元,进行以下
    
     修改
    
     1821行,从:
     if HandleAllocated and Container.ActiveProperties.MemoMode then
     改为:
     if HandleAllocated and (Container <> nil) and Container.ActiveProperties.MemoMode then
     就行了。
    
     保守后关闭cxRichEdit.pas,编译cxExtEditorsVCLD7.dpk但不要安装。
    
     10.把$(DELPHI)/Projects/Bpl目录中编译得到的cxExtEditorsVCLD7.bpl拷贝到操作系统的$(System) 目录中。
    
     11.在Delphi_7打开ExpressEditors Library 5/Delphi 7/Sources/dclcxExtEditorsVCLD7.dpk,编译并安装。
    
     12.把$(DELPHI)/Projects/Bpl目录中编译得到的dclcxExtEditorsVCLD7.bpl拷贝到$(System) 目录中。
    
     13.在Delphi_7打开ExpressPageControl 2/Delphi 7/Sources/cxPageControlVCLD7.dpk,编译但不要安装。
    
     14.在Delphi_7打开ExpressPageControl 2/Delphi 7/Sources/dclcxPageControlVCLD7.dpk,编译并安装。
    
     15.在Delphi_7打开ExpressQuantumGrid 5/Delphi 7/Sources/cxExportVCLD7.dpk,编译但不要安装。
    
     16.在Delphi_7打开ExpressQuantumGrid 5/Delphi 7/Sources/cxGridVCLD7.dpk,编译但不要安装。
    
     17.在Delphi_7打开ExpressQuantumGrid 5/Delphi 7/Sources/dclcxGridVCLD7.dpk,编译并安装。
    
     控件包安装成功!
    
     打开/ExpressQuantumGrid 5/Delphi 7/Demos中的各个Demo,编译后可以运行!
     其中:
     ConvertGrid3Demo和ConvertGrid3MasterDetailDemo还必须同时安装
     “DevExpress ExpressQuantumGrid Suite v3.22 for Delphi7”,才行!
原创粉丝点击