我正在使用 Delphi XE 中内置的 TeeChart 来绘制图表。
当我只是将图表放在表单上时,我可以使用所有这些选项来导出/保存或打印预览,但这些选项在运行时不存在。
我想添加一个用于保存对话框和打印预览的按钮(现在我只是让它执行 Chart1.Print 和 Chart1.SaveToBitmapFile)
我用谷歌搜索,找到了这个链接:http://www.steema.com/support/faq/NewVCL/FAQ_VCL_DIALOGS.htm
所以我将 EditChar 添加到 Uses 并添加行 EditChart(Self,Chart1 );
但是当我尝试编译时,它给了我错误:
[DCC Error] E1026 File not found: 'TeeBackImage.DFM'
[DCC Error] E1026 File not found: 'TeeEmbossEditor.DFM'
[DCC Error] E1026 File not found: 'TeeMargins.DFM'
[DCC Error] E1026 File not found: 'TeeMouseCursor.DFM'
[DCC Error] E1026 File not found: 'TeeStringsEditor.DFM'
Run Code Online (Sandbox Code Playgroud)
我还添加了 Uses TeePrevi,但它说 ChartPreview 是一个未声明的标识符
有谁知道发生了什么事吗?创建图表和打印/保存工作正常,当我添加 Uses EditChar 时似乎会发生错误
谢谢
小智 6
我正在使用 Delphi XE2 和 TeeChart Standard(包含在 XE2 中)
我将“VCLTee.TeeEdiGene, VCLTee.EditChar”添加到使用列表中,然后添加了以下行:
ChartPreview(Self,Chart1);
Run Code Online (Sandbox Code Playgroud)
和
EditChart(Self,Chart1 );
Run Code Online (Sandbox Code Playgroud)
到我的代码以显示预览和编辑对话框。似乎工作正常
| 归档时间: |
|
| 查看次数: |
7167 次 |
| 最近记录: |