ExpressQuantumGrid_Suite_v5.0_Full_Source_Code_for_Delphi_7 控件包的修正及安裝方法
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”,才行!
標簽:
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn