|
FlexCel Studio for VCL/LCL
|
This component holds a collection of xls templates that will be linked in the exe.
TXlsTemplateStore = class(TXlsBaseTemplateStore);
class TXlsTemplateStore : public TXlsBaseTemplateStore;
This component allows you to link the templates directly into the exe, so you don't have to distribute additional files.
To use it, just drop one TemplateStore into the data module, connect it to a TXLSAdapter, and load the templates using the Templates property, or by double-clicking the component.
At design time, you should always have a folder with the templates, and have the RefreshPath property from the TemplateStore point to it. This way, you can modify that files, and the TemplateStore will automatically detect it and warn you when checking the report .
Note: Using a TemplateStore means that each time you want to change a template, you have to load it again and recompile your application. Depending on the kind of application you are doing, this might be an advantage or a disadvantage.
|
Copyright (c) 2002-2008 TMS Software. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|