【正文】
水平刮板輸送機(jī)設(shè)計(jì)裝配圖例: 2 畢業(yè)設(shè)計(jì) (論文 )外文資料翻譯 題 目 : 水平刮板輸送機(jī) 機(jī)頭段設(shè)計(jì) 院系名稱: 專業(yè)班級(jí): 學(xué)生姓名: 學(xué) 號(hào): 指導(dǎo)教師: 教師職稱: 起止日期: 地 點(diǎn) : 附 件: ; 。 指導(dǎo)教師評(píng)語(yǔ): 簽名: 年 月 日 3 Endshortcut menu 事件 快捷菜單出現(xiàn)后被擊活 。 用法: () Object: Document 對(duì)象 對(duì)象表達(dá)式,其結(jié)果為有效的容器對(duì)象,此處必須為文檔對(duì)象( document)。 說(shuō)明 : 當(dāng)模式對(duì)話框顯示時(shí)不會(huì)觸發(fā)任何事件。 參見(jiàn): 方法,屬性和事件: BeginShortcutMenuDefault BeginShortcutMenuEdit BeginShortcutMenuGrip BeginShortcutMenuOsnap BeginRightClick Activex 和 VBA 開(kāi)發(fā)指導(dǎo): “ 使用事件 ” Using Programming Languages other than VBA 例程 : Private Sub AcadDocument_Activate() ’ 本例演示快捷菜單事件的圖形 ’ 當(dāng)用戶關(guān)閉快捷菜單圖形時(shí) ,此事件被擊活 4 ’ 激活示例程序 :將鼠標(biāo)放在快捷菜單活動(dòng)的區(qū)域上 ,單擊右鍵 ’ 等待快捷菜單被打開(kāi) ,然后再關(guān)閉 MsgBox 您剛才激活了一個(gè)圖形! End Sub Layout Switched 事件 用戶轉(zhuǎn)換一個(gè)不同的排列之后被激活 用法 : (Layout Name) object: Document 對(duì)象 對(duì)象表達(dá)式,其結(jié)果為有效的容器對(duì)象,此處必須為文檔對(duì)象( document)。 說(shuō)明 : 當(dāng)模式對(duì)話框顯示時(shí)不會(huì)觸發(fā)任何事件。 參見(jiàn): 方法,屬性和事件: WindowChanged WindowMovedOrResized Activex 和 VBA 開(kāi)發(fā)指導(dǎo): “ 使用事件 ” Using Programming Languages other than VBA 例程 : 5 Private Sub AcadDocument_LayoutSwitched (By Val Layout Name as String) ’ 演示排列轉(zhuǎn)換事件的圖形 ’ 當(dāng)用戶用了不同的排列時(shí)被激活 ’ 激活示例程序 :打開(kāi)圖形并改變排列 ’ 例如 :轉(zhuǎn)換一個(gè)圖形從模式到排列 ’ 排列圖表的多樣性 ,我們可以選擇自己需要的 MsgBox 您剛才激活了一個(gè)圖形! End Sub LISPCancelled 事件 當(dāng) LISP 表達(dá)的評(píng)估被取消時(shí)被激活 用法 : () object: Application 對(duì)象 , Document 對(duì)象 對(duì)象表達(dá)式,其結(jié)果為有效的容器對(duì)象,此處必須為應(yīng)用程序?qū)ο螅?application)或 文檔對(duì)象( document)。 說(shuō)明 : 當(dāng)模式對(duì)話框顯示時(shí)不會(huì)觸發(fā)任何事件。 參見(jiàn): 方法,屬性和事件: BeginLISP EndLISP 6 Activex 和 VBA 開(kāi)發(fā)指導(dǎo): “ 使用事件 ” Using Programming Languages other than VBA 例程 : Private Sub AcadDocument_LispCancelled () ’ 本例演示 LISP 取消的圖形 39。LISP 表達(dá)的評(píng)估取消時(shí)被激活 ’ 激活示例程序 :操作 LISP 表達(dá)和取消 LISP 的評(píng)估在它完成之前 MsgBox 您剛才激活了一個(gè)圖形! End Sub Modified 事件 當(dāng)對(duì)象和集合被修改時(shí)被激活。 用法: object. Modified (Entity) object: All Drawing objects, Block, Blocks, Dictionary, Dictionaries, DimStyle, DimStyles, Group, Groups, Hyperlink, Hyperlinks, Layer, Layers, Layout, Layouts, Liype, Liypes, ModelSpace, PaperSpace, PlotConfiguration, PlotConfigurations, RegisteredApplication, RegisteredApplications, SelectionSet, SelectionSets, TextStyle, TextStyles, UCS, UCSs, View, Views, Viewport, Viewports, XRecord 對(duì)象表達(dá)式,其結(jié)果為有效的容器對(duì)象。 說(shuō)明 : 當(dāng)模式對(duì)話框顯示時(shí)不會(huì)觸發(fā)任何事件。 7 參見(jiàn): 方法 ,屬性和事件: ObjectAdded ObjectErased Activex 和 VBA 開(kāi)發(fā)指導(dǎo): “ 使用事件 ” Using Programming Languages other than VBA 例程 : Public with Events Plane as AcadLWPolyline 39。 Use with Modified Event Example Sub Example Modified () ’在模式狀態(tài)下本例創(chuàng)造了 lightweight polyline 和涉及 Polyline 的使用在不同的場(chǎng)合建立相互的修改事件 ’在修改事件中本例修改新的對(duì)象,激活代碼 ’修改對(duì)象激活事件 ’提示:本事件代碼將要被激活 ’在們移動(dòng)或重新修改背景之前,線不會(huì)變?yōu)樗{(lán)色當(dāng)本例的信件箱被展現(xiàn)時(shí) MsgBox 您剛才激活了一個(gè)圖形! End Sub EndShortcutMenu event Triggered after the shortcut menu appears. See Also | Example Signature (Shortcut Menu) Object Document object an object expression that evaluates to a valid container object. In this case, the only valid container is a document. Shortcut Menu PopupMenu object。 input/output from the handler the shortcut menu that has been displayed. Remarks Use this event to perform any cleanup work on the shortcut menu. No events will be fired while a modal dialog is being displayed. See Also Methods, Properties, and Events: BeginShortcutMenuDefault BeginShortcutMenuEdit BeginShortcutMenuGrip BeginShortcutMenuOsnap BeginRightClick ActiveX and VBA Developer39。s Guide: Use Events 畢業(yè)設(shè)計(jì)(論文) 1 Example Private Sub AcadDocument_EndShortcutMenu (Shortcut Menu as ) ‘This example intercepts a drawing EndShortcutMenu event. 39。 ‘This event is triggered when the user closes a drawing shortcut menu. 39。 ‘To trigger this example event: Right click the mouse in the working area of a drawing, ‘Wait for the shortcut menu to be displayed and then dismiss the shortcut menu MsgBox A shortcut menu was just closed! End Sub LayoutSwitched event Triggered after the user switches to a different layout. See Also | Example Signature (Layout Name) Object Document object an object expression that evaluates to a valid container object. In this case, the only valid container is a document. Layout Name String。 input to the handler the name of the layout the user has switched to. Remarks No events will be fired while a modal dialog is being displayed. See Also Methods, Properties, and Events: 畢業(yè)設(shè)計(jì)(論文) 2 WindowChanged WindowMovedOrResized ActiveX and VBA Developer39。s Guide: Use Events Example Private Sub AcadDocument_LayoutSwitched (By Val Layout Name as String) ‘This example intercepts a drawing Layout Switched event. 39。 ‘This event is triggered when the user switches to a different ‘Drawing layout view. 39。 ‘To trigger this example event: Open a drawing and change its layout view 39。 ‘ For example: Switch the drawing from Model view to Layout1 view ‘Use the Layout Name variable to determine the which layout view we changed to MsgBox The drawing layout was just changed to: amp。 Layout Name End Sub LISPCancelled event Triggered when the evaluation of a LISP expression is cancelled. See Also | Example Signature () Object Application object, Document object an object expression that evaluates to a valid container object. In this case, the only valid containers are the application and a document. Remarks No events will be fired while a modal dialog is being displayed.