ImageVerifierCode 换一换
格式:DOC , 页数:12 ,大小:200KB ,
资源ID:3121878      下载积分:2 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.wnwk.com/docdown/3121878.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(外文翻译.doc)为本站会员(a****2)主动上传,蜗牛文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知蜗牛文库(发送邮件至admin@wnwk.com或直接QQ联系客服),我们立即给予删除!

外文翻译.doc

1、毕业设计(论文)外文资料翻译题 目: ActiveX and VBA Reference 院系名称: 专业班级: 学生姓名: 学 号: 指导教师: 教师职称: 起止日期: 地 点: BeginShortcutMenuOSnap 事件用户在图形窗口上按鼠标右键后,以及在快捷菜单以osnap模式出现之前被触发。See Also | Example用法:object.BeginShortcutMenuGrip(ShortcutMenu)对象:Document 对象对象表达式,其结果为有效的容器对象,此处必须为文档对象(document)。ShortcutMenu快捷菜单PopupMenu对象:通过操

2、作按钮来输入/输出快捷菜单即将显示说明: 这个事件允许你在它显示之前修改快捷菜单。在修改快捷菜单时,通过事件的按钮编辑PopupMenu对象。这种相同的PopupMenu对象也因为当前的快捷菜单正在显示而不能够弹出。使用这个EndShortcutMenu事件利用快捷菜单执行清除工作。这些事件将被激活,在所有的快捷菜单的要素包括任意ObjectARX命令发生后当模式对话框显示时不会触发任何事件参见:方法,属性,事件:BeginShortcutMenuCommand BeginShortcutMenuDefault BeginShortcutMenuEdit BeginRightClick Act

3、iveX 和 VBA开发指导:“使用事件”例程:Private Sub AcadDocument_BeginShortcutMenuOSnap(ShortcutMenu As AutoCAD.IAcadPopupMenu)本例程演示当在osnap模式下时立即截取一个快捷菜单 MsgBox “你刚才在osnap模式下激活一个快捷菜单” Deactivate 事件当图形窗口释放时被触发See Also | Example用法:object.Deactivate()对象:Document对象对象表达式,其结果为有效的容器对象,此处必须为文档对象(document)说明:当模式对话框显示时不会触发任何

4、事件 参见 :方法,属性,事件:Activate ActiveX 和 VBA开发指导:“使用事件”例程:Private Sub AcadDocument_Deactivate() 本例程演示截取图形激活事件 当图形不集中时这个事件会被激活激活示例程序:打开两个图形窗口并从一个图形窗口切换到另一个图形窗口 MsgBox “你刚才激活了一个图形!” End SubEndCommand event在命令执行完成后立即被触发。See Also | Example:用法:object.EndCommand(CommandName)对象:Application对象表达式,其结果为有效的容器对象,此处必须为

5、文档对象(document)。CommandNameString文件被打开发出的命令的名字。说明:这个EndCommand事件紧跟着BeginCommand事件到AutoCAD完成正在执行的命令之后。如果使用者没有取消那个命令,结束命令就不会被触发。这个开始命令事件被触发为任一基本AutoCAD命令,或任一经由ObjectARX申请登记在AutoCAD指令堆栈上,或视图的 LISP vlax-add-cmd功能 。任何正常的defund C将被触发:因为它不能从命令堆栈中显示出来,所以即使你激发它,它也不能完全的发挥功能,。如果你在执行时需要LISP命令被识别出来,你需要用视图的 LISP v

6、lax-add-cmd功能去正确从AutoCAD命令堆栈中激发出来。如果你没有对一个AutoCAD命令进行定义那么你就利用LISP命令对其重新定义,通常AutoCAD 的命令只有在它们被触发时BeginCommand才被激活。比如(LINE命令)。AutoCAD命令成组的储存在命令堆栈里。一个瞬间命令堆栈在创建per AutoCAD期间。这些堆栈由的基本命令组成,还有任意你加进去的命令。对话框显示时不会触发任何事件参见:方法,属性,事件: BeginCommand ActiveX 和VBA开发指导“使用事件”例程:Private Sub AcadDocument_EndCommand(ByVa

7、l CommandName As String) 本例程演示截取图形EndCommand事件 当图形收到任一与本事件有关的命令时此事件被激活。激活本例程事件:在绘图区点击任意的命令不管是直线命令,VBA, ACAD菜单,ACAD工具栏还是LISP之中的。当这个命令完成后,这个事件将会被激活。使用周期变化的“CommandName”确定哪个命令刚完成。MsgBox“一个图形已经完”成& CommandName & “命令”End SubEndLISP event在LISP表达式执行完成后立即被触发See Also | Example 用法:object.EndLISP()对象:Applicati

8、on object, Document object对象表达式,其结果为有效的容器对象,此处必须为文档对象(document)说明:这个事件将会被触发,在LISP表达实执行完成后,或撤消对LISP表达式的执行后。 “对话框显示时不会触发任何事件”参见:方法,属性,事件:BeginLISP ActiveX 和VBA开发指导“使用事件”例程:Private Sub AcadDocument_EndLisp() 本例程演示截取图形BeginLisp事件本事件当完成对一图形的LISP表达式的运行时被激活激活本例程:开始对LISP表达式求值并等着完成求值MsgBox “一个LISP表达式已经完成求值!”

9、End SubBeginShortcutMenuOSnap eventTriggered after the user right-clicks on the drawing window, and before the shortcut menu appears in osnap mode. See Also | ExampleSignature object.BeginShortcutMenuGrip(ShortcutMenu)objectDocument objectAn object expression that evaluates to a valid container obje

10、ct. In this case, the only valid container is a document. ShortcutMenuPopupMenu object; input/output from the handlerThe shortcut menu about to be displayed. Remarks This event allows you to make changes to the shortcut menu before it is displayed. To make changes to the shortcut menu, edit the Popu

11、pMenu object that is passed in to your handler from the event. This same PopupMenu object is passed out as the current shortcut menu. Use the EndShortcutMenu event to perform any cleanup work on the shortcut menu. This event is triggered after all shortcut menu elements, including any ObjectARX comm

12、and additions, have occurred. No events will be fired while a modal dialog is being displayed. See Also Methods, Properties, and Events: BeginShortcutMenuCommand BeginShortcutMenuDefault BeginShortcutMenuEdit BeginRightClick ActiveX and VBA Developers Guide: Use Events ExamplePrivate Sub AcadDocumen

13、t_BeginShortcutMenuOSnap(ShortcutMenu As AutoCAD.IAcadPopupMenu) This example intercepts a shortcut menu start while you are in the osnap mode. MsgBox You have just initiated a shortcut menu in osnap mode!End SubDeactivate eventTriggered when the drawing window is deactivated.See Also | ExampleSigna

14、ture object.Deactivate()objectDocument objectAn object expression that evaluates 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: Activate ActiveX and

15、VBA Developers Guide: Use EventsExamplePrivate Sub AcadDocument_Deactivate() This example intercepts a drawing DeActivate event. This event is triggered when a drawing window looses focus. To trigger this example event: Open two drawings and switch from one drawing window to another MsgBox You have

16、just deactivated a drawing!End SubEndCommand eventTriggered immediately after a command completes.See Also | ExampleSignature object.EndCommand(CommandName)objectApplicationAn object expression that evaluates to a valid container object. In this case, the only valid container is the application. Com

17、mandNameStringThe name of the command that was issued. Remarks The EndCommand event follows the BeginCommand event after AutoCAD completes processing the command. If the user cancels out of the command, the EndCommand event will not be triggered. The BeginCommand event will be fired for any basic Au

18、toCAD command, or any command registered on the AutoCAD command stack via an ObjectARX application, or the Visual LISP vlax-add-cmd function. It will not be fired for any normally defund C: LISP function because it is not exposed to the command stack, even though you execute it from the AutoCAD comm

19、and Line. If you need LISP commands to be recognized when they execute, you will need to use the Visual LISP vlax-add-cmd function to register the command correctly to the AutoCAD command stack. If you undefine an AutoCAD command and then redefine it via a LISP defun, the BeginCommand event may not

20、be triggered until an actual AutoCAD command is called; for example, (command _.LINE .). AutoCAD commands are stored in groups in the command stack. One instance of the command stack is created per AutoCAD session. This stack consists of the native AutoCAD commands, as well as any custom commands yo

21、u add to it. No events will be fired while a modal dialog is being displayed. See Also Methods, Properties, and Events: BeginCommand ActiveX and VBA Developers Guide: Use EventsExamplePrivate Sub AcadDocument_EndCommand(ByVal CommandName As String) This example intercepts a drawing EndCommand event.

22、 This event is triggered when a drawing receives any command compatible with this event. To trigger this example event: Issue any command to an open drawing from either the command line, VBA, the ACAD menus, the ACAD toolbars, or LISP. When the command is finished, this event will be triggered. Use

23、the CommandName variable to determine which command just finished MsgBox A drawing has just finished a & CommandName & command.End SubEndLISP eventTriggered upon completion of evaluating a LISP expression.See Also | ExampleSignature object.EndLISP()objectApplication object, Document objectAn object

24、expression that evaluates to a valid container object. In this case, the only valid containers are the application and a document. Remarks This event will occur after either a normal termination of the LISP evaluation, or after a cancellation of the LISP evaluation. No events will be fired while a m

25、odal dialog is being displayed. See Also Methods, Properties, and Events: BeginLISP ActiveX and VBA Developers Guide: Use Events ExamplePrivate Sub AcadDocument_EndLisp() This example intercepts a drawing BeginLisp event. This event is triggered when a drawing finishes a the evaluation of a LISP expression. To trigger this example event: Start the evaluation of a LISP expression and wait for it to finish being evaluated MsgBox A LISP expression has just finished being evaluated!End Sub

copyright@ 2008-2023 wnwk.com网站版权所有

经营许可证编号:浙ICP备2024059924号-2