添加 ACTIVEX 控制項問題

unlist 2003-08-29 08:09:25
表單添加Microsoft chart control控件
圖形可以按要求顯示,但如何保存顯示圖形
到表呢?請指教
...全文
31 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
magnetmoon 2003-08-30
  • 打赏
  • 举报
回复
Imports an OLE object from a file and places it into a general field.
Syntax

APPEND GENERAL GeneralFieldName
[FROM FileName]
[DATA cExpression]
[LINK]
[CLASS OLEClassName]

Arguments

GeneralFieldName Specifies the name of the general field in which the OLE object is placed. You can specify a general field in a table open in a noncurrent work area by including the table alias with the field name.

FROM FileName Specifies the file containing the OLE object. You must include the entire file name, including its extension. If the file is located in a directory other than the current default directory, include the path with the file name.

DATA cExpression Specifies a character expression that is evaluated and passed as a character string to the OLE object in the general field. The OLE object must be capable of receiving and processing the string. For example, you cannot send a character string to a graphics object such as one created using Paintbrush.

LINK Creates a link between the OLE object and the file that contains the object. The OLE object appears in the general field but the object definition remains in the file. If you omit LINK, the OLE object is embedded in the general field.

CLASS OLEClassName Specifies an OLE class for an OLE object other than the default class.

Tip You can determine the class for an OLE object by running REGEDIT and double-clicking the OLE object. The class name is listed under Identifier.

You can specify a class name when the file extension for the file containing the OLE object is different from the default extension and you want to force the behavior for the class. If the default extension can be used by multiple OLE servers, include the class to specify a particular server.

Remarks

If an OLE object already exists in the general field, it is replaced with the OLE object from the file.

For additional information about OLE objects in Visual FoxPro, see Chapter 16, dding OLE,?in the Developer Guide.
目录 第一部分 基础知识 第1章 环境 工具栏和菜单 环境窗口 在线帮助 MSDN库 在开发环境之外工作 第1章 环境 工具栏和菜单 环境窗口 在线帮助 MSDN库 在开发环境之外工作 第2章 AppWizard(应用程序向导) AppWizard(应用程序向导)的优点 运行AppWizard(应用程序向导) 用AppWizard(应用程序向导)来创建DLL文件 第二部分 编辑器 第3章 文本编辑器 启动文本编辑器 文档 浏览文档 文本搜索 编程辅助工具 Advanced(高级)命令 未结合命令 宏的基础 定制编辑器 在Developer Studio之外编辑文本 第4章 资源 系统资源 RC资源脚本文件 Resource. h头文件 AppWizard资源的例子 例程DiskPie1简介 菜单和加速键 字符串资源和状态栏 位图. 工具栏. 图标和光标 向DiskPie1添加代码 再谈未结合命令 修整资源数据 第5章 对话框和控件 对话脚本 对话编辑器 例1:修改 About对话 例2:简单的非模态对话框 例3:向AppWizard程序添加对话 基于对话的应用程序 第三部分 编程帮助工具 第6章 ClassWizard(类向导) 访问ClassWizard ClassWizard对话 WizardBar(向导栏) ClassWizard如何识别类 用ClassWizard创建对话类 第7章 Gallery(组件集) 例子:添加一个属性表 例子:添加初始屏幕和时钟 创建自定义的组件 第四部分 ActiveX控件 第8章 使用ActiveX控件 背景知识简介 控件包容器 在包容器和 ActiveX控件之间进行通信 编写包容器应用程序 在没有对话编辑器的情况下工作 第9章 使用 MFC编写ActiveX控件 用于创建 ActiveX控件的 Visual C+十工具 ControlWizard 许可 例1:什么都不做的ActiveX控件 例2:Tower ActiveX控件 向ActiveX控件项目添加属性页 第10章 用ATL编写ActiveX控件 ATL和包容器应用程序 ATL和ActiveX控件 示例1:Pulse ActiveX控件 例子2:TowerATL ActiveX控件 对比组件模型 第五部分 高级主题 第11章 调试器 调试与发行 调试器的使用 断点 断点返回控制权给调试器的方式 建立调试版本 调试器界面 例子:开发和调试ShockWave程序 特殊的调试情况 第12章 编译器优化 优化入门 优化开关 从调试到发行 基准Visual C+十 第13章 自定义Visual C++ Options(选项)对话框 Customize(自定义)对话框 工具栏 添加命令到Tools(工具)菜单 宏 Developer Studio附加项 第六部分 附录 附录A ASCII和ANSI文件格式 附录B ClassWizard支持的MFC类 附录C VBScript初步

2,722

社区成员

发帖
与我相关
我的任务
社区描述
VFP,是Microsoft公司推出的数据库开发软件,用它来开发数据库,既简单又方便。
社区管理员
  • VFP社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧