毕业设计论文外文资料翻译Word格式.docx

上传人:b****2 文档编号:14578972 上传时间:2022-10-23 格式:DOCX 页数:10 大小:17.90KB
下载 相关 举报
毕业设计论文外文资料翻译Word格式.docx_第1页
第1页 / 共10页
毕业设计论文外文资料翻译Word格式.docx_第2页
第2页 / 共10页
毕业设计论文外文资料翻译Word格式.docx_第3页
第3页 / 共10页
毕业设计论文外文资料翻译Word格式.docx_第4页
第4页 / 共10页
毕业设计论文外文资料翻译Word格式.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

毕业设计论文外文资料翻译Word格式.docx

《毕业设计论文外文资料翻译Word格式.docx》由会员分享,可在线阅读,更多相关《毕业设计论文外文资料翻译Word格式.docx(10页珍藏版)》请在冰豆网上搜索。

毕业设计论文外文资料翻译Word格式.docx

附件:

1.外文资料翻译译文;

2.外文原文。

指导教师评语:

 

签名:

年月日

Endshortcutmenu事件

快捷菜单出现后被击活。

用法:

Object.Activate()

Object:

Document对象

对象表达式,其结果为有效的容器对象,此处必须为文档对象(document)。

说明:

当模式对话框显示时不会触发任何事件。

参见:

方法,属性和事件:

BeginShortcutMenuDefault

BeginShortcutMenuEdit

BeginShortcutMenuGrip

BeginShortcutMenuOsnap

BeginRightClick

Activex和VBA开发指导:

“使用事件”

UsingProgrammingLanguagesotherthanVBA

例程:

PrivateSubAcadDocument_Activate()

’本例演示快捷菜单事件的图形

’当用户关闭快捷菜单图形时,此事件被击活

’激活示例程序:

将鼠标放在快捷菜单活动的区域上,单击右键

’等待快捷菜单被打开,然后再关闭

MsgBox"

您刚才激活了一个图形!

"

EndSub

LayoutSwitched事件

用户转换一个不同的排列之后被激活

用法:

object.LayoutSwitched(LayoutName)

object:

WindowChanged

WindowMovedOrResized

PrivateSubAcadDocument_LayoutSwitched(ByValLayoutNameasString)

’演示排列转换事件的图形

’当用户用了不同的排列时被激活

打开图形并改变排列

’例如:

转换一个图形从模式到排列

’排列图表的多样性,我们可以选择自己需要的

LISPCancelled事件

当LISP表达的评估被取消时被激活

object.LISPCancelled()

Application对象,Document对象

对象表达式,其结果为有效的容器对象,此处必须为应用程序对象(application)或文档对象(document)。

BeginLISP

EndLISP

Activex和VBA开发指导:

PrivateSubAcadDocument_LispCancelled()

’本例演示LISP取消的图形

'

LISP表达的评估取消时被激活

操作LISP表达和取消LISP的评估在它完成之前

Modified事件

当对象和集合被修改时被激活。

object.Modified(Entity)

AllDrawingobjects,Block,Blocks,Dictionary,Dictionaries,DimStyle,DimStyles,Group,Groups,Hyperlink,Hyperlinks,Layer,Layers,Layout,Layouts,Linetype,Linetypes,ModelSpace,PaperSpace,PlotConfiguration,PlotConfigurations,RegisteredApplication,RegisteredApplications,SelectionSet,SelectionSets,TextStyle,TextStyles,UCS,UCSs,View,Views,Viewport,Viewports,XRecord

对象表达式,其结果为有效的容器对象。

ObjectAdded

ObjectErased

PublicwithEventsPlaneasAcadLWPolyline'

UsewithModifiedEventExample

SubExampleModified()

’在模式状态下本例创造了lightweightpolyline和涉及Polyline的使用在不同的场合建立相互的修改事件

’在修改事件中本例修改新的对象,激活代码

’修改对象激活事件

’提示:

本事件代码将要被激活

’在们移动或重新修改背景之前,线不会变为蓝色当本例的信件箱被展现时

EndShortcutMenuevent

Triggeredaftertheshortcutmenuappears.

SeeAlso|Example

Signature

object.EndShortcutMenu(ShortcutMenu)

Object

Documentobject

anobjectexpressionthatevaluatestoavalidcontainerobject.Inthiscase,theonlyvalidcontainerisadocument.

ShortcutMenu

PopupMenuobject;

input/outputfromthehandler

theshortcutmenuthathasbeendisplayed.

Remarks

Usethiseventtoperformanycleanupworkontheshortcutmenu.

Noeventswillbefiredwhileamodaldialogisbeingdisplayed.

SeeAlso

Methods,Properties,andEvents:

ActiveXandVBADeveloper'

sGuide:

UseEvents"

Example

PrivateSubAcadDocument_EndShortcutMenu(ShortcutMenuasAutoCAD.IAcadPopupMenu)

‘ThisexampleinterceptsadrawingEndShortcutMenuevent.

'

‘Thiseventistriggeredwhentheuserclosesadrawingshortcutmenu.

‘Totriggerthisexampleevent:

Rightclickthemouseintheworkingareaofadrawing,

‘Waitfortheshortcutmenutobedisplayedandthendismisstheshortcutmenu

MsgBox"

Ashortcutmenuwasjustclosed!

LayoutSwitchedevent

Triggeredaftertheuserswitchestoadifferentlayout.

LayoutName

String;

inputtothehandler

thenameofthelayouttheuserhasswitchedto.

WindowMovedOrResized

‘ThisexampleinterceptsadrawingLayoutSwitchedevent.

‘Thiseventistriggeredwhentheuserswitchestoadifferent

‘Drawinglayoutview.

Openadrawingandchangeitslayoutview

‘Forexample:

SwitchthedrawingfromModelviewtoLayout1view

‘Usethe"

LayoutName"

variabletodeterminethewhichlayoutviewwechangedto

Thedrawinglayoutwasjustchangedto:

"

&

LayoutName

LISPCancelledevent

TriggeredwhentheevaluationofaLISPexpressioniscancelled.

SeeAlso|Exampl

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 工作范文 > 其它

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1