- 1、本文档共14页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业设计(论文)外文
资料翻译
题 目:ActiveX and VBA Reference
院系名称:—专业班级:
学生姓名: 学 号:
指导教师: 教师职称:
起止日期: 地 点:
In thisswitch
In this
switch
原文
Activate eve nt
Triggered whe n a docume nt window is activated.
See Also | Example
Sig nature
object.Activate()
object
Docume ntobject
An object expression that evaluates to a valid container object. case, the only valid container is a docume nt.
Remarks
No eve nts will be fired while a modal dialog is being displayed.
See Also
Methods, Properties, and Eve nts:
AppActivate
Win dowMovedOrResized
ActiveX and VBA Developers Guide:
Use Eve nts
Example
Private Sub AcadDocume nt_Activate()
This example in tercepts a draw ing Activate eve nt.
This eve nt is triggered whe n a draw ing wi ndow becomes active.
To trigger this example eve nt: Either ope n a new draw ing or from one draw ing win dow to ano ther
MsgBox You have just activated a draw in g!
End Sub
AppActivate Event
Triggered just before the main application window is activated.
See Also | Example
Sig nature
object.AppActivate()
object
Applicati on
An object expression that evaluates to a valid container object. In this case, the only valid container is the applicati on.
Remarks
No eve nts will be fired while a modal dialog is being displayed.
See Also
Methods, Properties, and Eve nts:
AppDeactivate
Win dowMovedOrResized
ActiveX and VBA Developers Guide:
Use Eve nts
Example
Public WithEve nts ACADApp As AcadApplicatio n Use with Applicati on
Eve nt Examples
Sub Example_AcadApplicatio n_Eve nts()
This example initializes the public variable (ACADApp), which will
be used to in tercept AcadApplicati on Eve nts
The VBA WithEve nts stateme nt makes it possible to in tercept a
gen eric object with the eve nts associated with that object.
Before you will be able to trigger any of the AcadApplication events, you will n eed to run this procedure.
Wecould get the application from the ThisDocument object, but that
would require hav ing a draw ing ope n, so we get it from the system.
Set ACAD
您可能关注的文档
- 0-1背包问题(分支限界法)_共5页.docx
- -ed形容词和-ing形容词辨析和练习_共2页.docx
- -建筑工程全套岗位责任制(吐血推荐).docx
- 006-物资供应长协文本.docx
- 066环保型汽车防锈保护蜡的研制_共1页.docx
- 08版全套概预算编制表格空表(a4-word版)(吐血推荐).docx
- 09-培训班培训总结_共9页.docx
- 10以内加减法(40道一页,可以直接打印了)400道_共8页.docx
- 10样东西尽量别共用.docx
- 10用消元法解应用题.docx
- 中国国家标准 GB/T 18233.4-2024信息技术 用户建筑群通用布缆 第4部分:住宅.pdf
- GB/T 18233.4-2024信息技术 用户建筑群通用布缆 第4部分:住宅.pdf
- GB/T 18978.210-2024人-系统交互工效学 第210部分:以人为中心的交互系统设计.pdf
- 《GB/T 18978.210-2024人-系统交互工效学 第210部分:以人为中心的交互系统设计》.pdf
- 中国国家标准 GB/T 18978.210-2024人-系统交互工效学 第210部分:以人为中心的交互系统设计.pdf
- GB/T 16649.2-2024识别卡 集成电路卡 第2部分:带触点的卡 触点的尺寸和位置.pdf
- 《GB/T 16649.2-2024识别卡 集成电路卡 第2部分:带触点的卡 触点的尺寸和位置》.pdf
- 中国国家标准 GB/T 16649.2-2024识别卡 集成电路卡 第2部分:带触点的卡 触点的尺寸和位置.pdf
- GB/T 17889.4-2024梯子 第4部分:铰链梯.pdf
- 《GB/T 17889.4-2024梯子 第4部分:铰链梯》.pdf
文档评论(0)