本文最后更新于2019年03月21日;如遇问题,请留言及时通知站长。

此版本为ExpressQuantumGrid.Suite.v6.26.Full.Source

下面讲一下在C++ Builder 6下面的安装过程:

1.必须先依次安装XP Theme ManagerExpressGDI+ Library、ExpressLibrary、ExpressExport Library、ExpressDataController、ExpressEditors Library 5和ExpressPageControl 2,也就是对应的文件夹01XPTheme、02GDILibrary、03Library、04ExportLibrary、05DataController、06EditorsLibrary5、07PageControl2中的内容,已经安装过的则跳过,下面内容是全新安装的步骤;

2.拷贝文件夹到Borland C++ Builder 6的安装目录下面,结果如下所示C:\Program Files\Borland\CBuilder6\QuantumGrid626\

3.在Borland C++ Builder 6.0中,选择菜单File | Close All;

4.选择菜单Tools | Environment Options...,

4.1 在Environment Variables页中,点击"New..."按钮,在Variable Name右边输入框中输入cxQGrid(或任意其他名字,但后面的设置要与此一致),在Variable Value右边输入框中输入类似第2点中的示例路径,按"OK";

4.2 还是在Environment Variables页中,点击"New..."按钮,在Variable Name右边输入框中输入LIBDIR(为了安装过程顺利便捷,此处请不要改),在Variable Value右边输入框中输入

C:\Program Files\Borland\CBuilder6\QuantumGrid626\01XPTheme;C:\Program Files\Borland\CBuilder6\QuantumGrid626\02GDILibrary;C:\Program Files\Borland\CBuilder6\QuantumGrid626\03Library;C:\Program Files\Borland\CBuilder6\QuantumGrid626\04ExportLibrary;C:\Program Files\Borland\CBuilder6\QuantumGrid626\05DataController;C:\Program Files\Borland\CBuilder6\QuantumGrid626\06EditorsLibrary5;C:\Program Files\Borland\CBuilder6\QuantumGrid626\07PageControl2;C:\Program Files\Borland\CBuilder6\QuantumGrid626\08QuantumGrid6 (注意要在一行),按"OK";

4.3 点击"Library"切换到Library页,在Library path后面加上:

$(cxQGrid)\01XPTheme;

$(cxQGrid)\02GDILibrary;

$(cxQGrid)\03Library;

$(cxQGrid)\04ExportLibrary;

$(cxQGrid)\05DataController;

$(cxQGrid)\06EditorsLibrary5;

$(cxQGrid)\07PageControl2;

$(cxQGrid)\08QuantumGrid6;

5.依次编译和安装下面各包,也就是按照文件夹的顺序(01XPTheme、02GDILibrary...):

---安装XP Theme Manager---

\01XPTheme\dxThemeC6.bpk 仅编译

---安装Express GDI+ Library---

\02GDILibrary\dxGDIPlusC6.bpk 仅编译

---安装ExpressLibrary---

\03Library\cxLibraryVCLC6.bpk 仅编译

\03Library\dclcxLibraryVCLC6.bpk 编译和安装

---安装ExpressExport Library---

\04ExportLibrary\cxExportVCLC6.bpk 仅编译

---安装ExpressDataController---

\05DataController\cxDataC6.dpk 仅编译

\05DataController\cxADOAdaptersC6.dpk 仅编译

\05DataController\cxBDEAdaptersC6.bpk 仅编译

\05DataController\cxIBXAdaptersC6.bpk 仅编译

---安装ExpressEditors Library 5---

\06EditorsLibrary5\cxEditorsVCLC6.bpk 仅编译

\06EditorsLibrary5\cxExtEditorsVCLC6.bpk 仅编译

\06EditorsLibrary5\dclcxEditorsVCLC6.bpk 编译和安装

\06EditorsLibrary5\dclcxExtEditorsVCLC6.bpk 编译和安装

---安装ExpressPageControl 2---

\07PageControl2\cxPageControlVCLC6.bpk 仅编译

\07PageControl2\dclcxPageControlVCLC6.bpk 编译和安装

---安装ExpressQuantumGrid 5---

\08QuantumGrid6\cxGridVCLC6.bpk 仅编译

\08QuantumGrid6\dclcxGridVCLC6.bpk 编译和安装

6.恭喜你,你安装成功了(可以看到控件面板)!

7.安装之后还需要设置一下才可以使用;

7.1 在Borland C++ Builder 6.0中,选择菜单File | Close All;

7.2 选择菜单 Project -> Options ,选择页 Directories/Conditionals ,点击 Include path 后面的 ... 按钮;

7.3 加入下列内容

$(cxQGrid)\01XPTheme

$(cxQGrid)\02GDILibrary

$(cxQGrid)\03Library

$(cxQGrid)\04ExportLibrary

$(cxQGrid)\05DataController

$(cxQGrid)\06EditorsLibrary5

$(cxQGrid)\07PageControl2

$(cxQGrid)\08QuantumGrid6

点击 OK ,关闭对话框。

8.现在就可以真正使用了,yes!