收藏 分销(赏)

100TPD植物油反应釜设计外文资料翻译(有全套CAD图纸).pdf

上传人:a199****6536 文档编号:1504439 上传时间:2024-04-29 格式:PDF 页数:15 大小:148.32KB
下载 相关 举报
100TPD植物油反应釜设计外文资料翻译(有全套CAD图纸).pdf_第1页
第1页 / 共15页
100TPD植物油反应釜设计外文资料翻译(有全套CAD图纸).pdf_第2页
第2页 / 共15页
100TPD植物油反应釜设计外文资料翻译(有全套CAD图纸).pdf_第3页
第3页 / 共15页
100TPD植物油反应釜设计外文资料翻译(有全套CAD图纸).pdf_第4页
第4页 / 共15页
100TPD植物油反应釜设计外文资料翻译(有全套CAD图纸).pdf_第5页
第5页 / 共15页
点击查看更多>>
资源描述

1、毕业设计(论文)外文资料翻译题题 目目:ActiveXActiveX andand VBAVBA ReferenceReference 院系名称:院系名称:专业班级:专业班级:学生姓名:学生姓名:学学 号:号:指导教师:指导教师:教师职称:教师职称:起止日期:起止日期:地地 点点:原文原文Activate event Triggered when a document window is activated.See Also|ExampleSignature object.Activate()objectDocument objectAn object expression that eval

2、uates to a valid container object.In this case,the only valid container is a document.Remarks No events will be fired while a modal dialog is being displayed.See Also Methods,Properties,and Events:AppActivate WindowMovedOrResized ActiveX and VBA Developers Guide:Use Events Example Private Sub AcadDo

3、cument_Activate()This example intercepts a drawing Activate event.This event is triggered when a drawing window becomes active.To trigger this example event:Either open a new drawing or switch from one drawing window to another MsgBox You have just activated a drawing!End SubAppActivate EventTrigger

4、ed just before the main application window is activated.See Also|ExampleSignature object.AppActivate()objectApplicationAn object expression that evaluates to a valid container object.In this case,the only valid container is the application.Remarks No events will be fired while a modal dialog is bein

5、g displayed.See Also Methods,Properties,and Events:AppDeactivate WindowMovedOrResized ActiveX and VBA Developers Guide:Use Events ExamplePublic WithEvents ACADApp As AcadApplication Use with Application Event ExamplesSub Example_AcadApplication_Events()This example initializes the public variable(AC

6、ADApp),which will be used to intercept AcadApplication Events The VBA WithEvents statement makes it possible to intercept a generic object with the events associated with that object.Before you will be able to trigger any of the AcadApplication events,you will need to run this procedure.We could get

7、 the application from the ThisDocument object,but that would require having a drawing open,so we get it from the system.Set ACADApp=GetObject(,AutoCAD.Application.16)End SubPrivate Sub ACADApp_AppActivate()This example intercepts an Application AppActivate event.This event is triggered when the Auto

8、CAD application receives focus To trigger this example event:1)Make sure to run the example that initializes the public variable(named ACADApp)linked to this event.2)Switch focus from AutoCAD to another Windows applicationand then back again.MsgBox AutoCAD was just activated!End SubAppDeactivate eve

9、ntTriggered just before the main application window is deactivated.See Also|ExampleSignature object.AppDeactivate()objectApplicationAn object expression that evaluates to a valid container object.In this case,the only valid container is the application.Remarks No events will be fired while a modal d

10、ialog is being displayedSee Also Methods,Properties,and Events:AppActivate WindowMovedOrResized ActiveX and VBA Developers Guide:Use EventsExample Public WithEvents ACADApp As AcadApplication Use with Application Event ExamplesSub Example_AcadApplication_Events()This example initializes the public v

11、ariable(ACADApp),which will be used to intercept AcadApplication Events.The VBA WithEvents statement makes it possible to intercept a generic object with the events associated with that object.Before you will be able to trigger any of the AcadApplication events,you will first need to run this proced

12、ure.We could get the application from the ThisDocument object,but that would require having a drawing open,so we get it from the system.Set ACADApp=GetObject(,AutoCAD.Application.16)End SubPrivate Sub ACADApp_AppDeactivate()This example intercepts an Application AppDeactivate event.This event is tri

13、ggered when the AutoCAD application loses focus To trigger this example event:1)Make sure to run the example that initializes the public variable(named ACADApp)linked to this event.2)Switch focus from AutoCAD to another Windows application.MsgBox AutoCAD just lost focus!End SubARXLoaded eventTrigger

14、ed when an ObjectARX application has been loaded.See Also|ExampleSignature object.ARXLoaded(FullPathName)objectApplicationAn object expression that evaluates to a valid container object.In this case,the only valid container is the application.FullPathNameStringThe full path and file name of the Obje

15、ctARX application that has been loaded.Remarks No events will be fired while a modal dialog is being displayedSee Also Methods,Properties,and Events:ARXUnloaded ActiveX and VBA Developers Guide:Use Events ExamplePublic WithEvents ACADApp As AcadApplication Use with Application Event ExamplesSub Exam

16、ple_AcadApplication_Events()This example initializes the public variable(ACADApp),which will be used to intercept AcadApplication Events.The VBA WithEvents statement makes it possible to intercept a generic object with the events associated with that object.Before you will be able to trigger any of

17、the AcadApplication events,you will first need to run this procedure.We could get the application from the ThisDocument object,but that would require having a drawing open,so we get it from the system.Set ACADApp=GetObject(,AutoCAD.Application.16)End SubPrivate Sub ACADApp_ARXLoaded(ByVal AppName As

18、 String)This example intercepts an Application ARXLoaded event.This event is triggered when AutoCAD loads an ObjectARX application.To trigger this example event:1)Make sure to run the example that initializes the public variable(named ACADApp)linked to this event.2)Load an ARX application into AutoC

19、AD.Use the AppName variable to notify the user which ARX application was loaded MsgBox AutoCAD just loaded the ARX application:&AppNameEnd SubARXUnloaded eventTriggered when an ObjectARX application has been unloaded.See Also|ExampleSignature object.ARXUnloaded(FullPathName)objectApplicationAn objec

20、t expression that evaluates to a valid container object.In this case,the only valid container is the application.FullPathNameStringThe full path and file name of the ObjectARX application that has been unloaded.Remarks No events will be fired while a modal dialog is being displayed.See Also Methods,

21、Properties,and Events:ARXLoaded ActiveX and VBA Developers Guide:Use EventsExample Public WithEvents ACADApp As AcadApplication Use with Application Event ExamplesSub Example_AcadApplication_Events()This example intializes the public variable(ACADApp)which will be used to intercept AcadApplication E

22、vents The VBA WithEvents statement makes it possible to intercept an generic object with the events associated with that object.Before you will be able to trigger any of the AcadApplication events,you will first need to run this procedure.We could get the application from the ThisDocument object,but

23、 that would require having a drawing open,so we grab it from the system.Set ACADApp=GetObject(,AutoCAD.Application.16)End SubPrivate Sub ACADApp_ARXUnloaded(ByVal AppName As String)This example intercepts an Application ARXUnloaded event.This event is triggered when the AutoCAD unloads an ARX applic

24、ation To trigger this example event:1)Make sure to run the example that initializes the public variable(named ACADApp)linked to this event.2)Unload an ARX application that is already loaded into AutoCAD Use the AppName variable to notify the user which ARX application was unloaded MsgBox AutoCAD jus

25、t unloaded the ARX application:&AppNameEnd Sub译文译文ActivateActivate 事件事件 当一个文档窗口激活时被触发。See Also|Example用法:object.Activate()object:Document 对象对象表达式,其结果为有效的窗口对象,此处必须为文档对象(document)。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:AppActivate WindowMovedOrResized ActiveX and VBA 开发指导:使用事件 例程:Private Sub AcadDocument_Ac

26、tivate()本例程演示截取图形激活事件。当一个图形窗口激活时触发本事件。激活示例程序:打开一个新图形或切换到另一个图形窗口。MsgBox 您刚才激活了一个图形!End SubAppActivateAppActivate 事件事件仅当主应用程序窗口激活前被触发。See Also|Example用法:object.AppActivate()object:Application 对象对象表达式,其结果为有效的窗口对象,此处必须为应用程序对象(application)。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:AppDeactivate WindowMovedOrResiz

27、ed ActiveX and VBA 开发指导:使用事件 例程:Public WithEvents ACADApp As AcadApplication Use with Application Event ExamplesSub Example_AcadApplication_Events()本例程演示初始化系统变量,用来截取 AutoCAD 中应用程序。VBA 事件演示截取一个与事件相联系的一般对象是可能的。在你触发任何一个 AutoCAD 中应用程序之前,你需要先运行这个程序。我们能够从这个文档对象中得到应用程序,但那样需要一个打开的窗口,所以我们从系统中截取它。Set ACADApp=

28、GetObject(,AutoCAD.应用程序.16)End SubPrivate Sub ACADApp_AppActivate()本例程演示截取应用程序激发事件。当 AutoCAD 中应用程序激活时,本事件被触发。激活示例程序:1)确保与本事件相联系的初始化系统变量程序运行。2)切换到另一个 AutoCAD 应用程序窗口,然后返回。MsgBox AutoCAD 刚才被激活!End SubAppDeactivate 事件事件主应用程序窗口取消激活前被触发。See Also|Example用法:object.AppDeactivate()object:Application 对象对象表达式,其

29、结果为有效的窗口对象,此处必须为应用程序对象(application)。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:AppActivate WindowMovedOrResized ActiveX and VBA 开发指导:使用事件 例程:Public WithEvents ACADApp As AcadApplication Use with Application Event ExamplesSub Example_AcadApplication_Events()本例程演示初始化系统变量,用来截取 AutoCAD 中应用程序。VBA 事件演示截取一个与事件相联系的一般

30、对象是可能的。在你触发任何一个 AutoCAD 中应用程序之前,你需要先运行这个程序。我们能够从这个文档对象中得到应用程序,但那样需要一个打开的窗口,所以我们从系统中截取它。Set ACADApp=GetObject(,AutoCAD.应用程序.16)End SubPrivate Sub ACADApp_AppDeactivate()本例程演示截取应用程序取消激发事件。当 AutoCAD 中应用程序取消激活时,本事件被触发。激活示例程序:1)确保与本事件相联系的初始化系统变量程序运行。2)切换到另一个 AutoCAD 应用程序窗口。MsgBox AutoCAD 刚才取消激活!End SubAR

31、XLoaded 事件事件ObjectARX 应用程序加载时被激活。See Also|Example用法:object.ARXLoaded(FullPathName)object:Application 对象对象表达式,其结果为有效的窗口对象,此处必须为应用程序对象(application)。FullPathName串已经加载的 ObjectARX 应用程序的全部路径和文件名。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:ARXUnloaded ActiveX and VBA 开发指导:使用事件 例程:Public WithEvents ACADApp As AcadAppl

32、ication Use with Application Event ExamplesSub Example_AcadApplication_Events()本例程演示初始化系统变量,用来截取 AutoCAD 中应用程序。VBA 事件演示截取一个与事件相联系的一般对象是可能的。在你触发任何一个 AutoCAD 中应用程序之前,你需要先运行这个程序。我们能够从这个文档对象中得到应用程序,但那样需要一个打开的窗口,所以我们从系统中截取它。Set ACADApp=GetObject(,AutoCAD.应用程序.16)End SubPrivate Sub ACADApp_ARXLoaded(ByVal

33、 AppName As String)本例程演示截取 ARX 应用程序加载事件。当 AutoCAD 加载 ARX 应用程序时,本事件被触发。激活示例程序:1)确保与本事件相联系的初始化系统变量程序运行。2)加载 ARX 应用程序到 AutoCAD。用 AppName 变量通知加载过 ARX 应用程序的用户。MsgBox AutoCAD 刚才加载了 ARX 应用程序:&AppNameEnd SubARXUnloadedARXUnloaded 事件事件ObjectARX 应用程序卸载时被触发。See Also|Example用法:object.ARXUnloaded(FullPathName)ob

34、ject:Application 对象对象表达式,其结果为有效的窗口对象,此处必须为应用程序对象(application)。FullPathName串已经加载的 ObjectARX 应用程序的全部路径和文件名。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:ARXLoaded ActiveX and VBA 开发指导:使用事件 例程:Public WithEvents ACADApp As AcadApplication Use with Application Event ExamplesSub Example_AcadApplication_Events()本例程演示初始

35、化系统变量,用来截取 AutoCAD 中应用程序。VBA 事件演示截取一个与事件相联系的一般对象是可能的。在你触发任何一个 AutoCAD 中应用程序之前,你需要先运行这个程序。我们能够从这个文档对象中得到应用程序,但那样需要一个打开的窗口,所以我们从系统中截取它。Set ACADApp=GetObject(,AutoCAD.应用程序.16)End SubPrivate Sub ACADApp_ARXUnloaded(ByVal AppName As String)本例程演示截取 ARX 应用程序卸载事件。当 AutoCAD 卸载 ARX 应用程序时,本事件被触发。激活示例程序:1)确保与本事件相联系的初始化系统变量程序运行。2)从 AutoCAD 中卸载已经加载的 ARX 应用程序。用 AppName 变量通知已经卸载过 ARX 应用程序的用户。MsgBox AutoCAD 刚才卸载了 ARX 应用程序:&AppNameEnd Sub

展开阅读全文
相似文档                                   自信AI助手自信AI助手
猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 通信科技 > 计算机应用

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服