輸送機(jī)-TGSS-50型水平刮板輸送機(jī)- 機(jī)頭段設(shè)計(jì)
輸送機(jī)-TGSS-50型水平刮板輸送機(jī)- 機(jī)頭段設(shè)計(jì),輸送機(jī)-TGSS-50型水平刮板輸送機(jī)-,機(jī)頭段設(shè)計(jì),輸送,tgss,50,水平,機(jī)頭,設(shè)計(jì)
畢業(yè)設(shè)計(jì)(論文)外文資料翻譯
題 目: ActiveX and VBA Reference
院系名稱: 專業(yè)班級(jí):
學(xué)生姓名: 學(xué) 號(hào):
指導(dǎo)教師: 教師職稱:
起止日期: 地 點(diǎn):
BeginShortcutMenuOSnap 事件
用戶在圖形窗口上按鼠標(biāo)右鍵后,以及在快捷菜單以osnap模式出現(xiàn)之前被觸發(fā)。
See Also | Example
用法:
object.BeginShortcutMenuGrip(ShortcutMenu)
對(duì)象:
Document 對(duì)象
對(duì)象表達(dá)式,其結(jié)果為有效的容器對(duì)象,此處必須為文檔對(duì)象(document)。
ShortcutMenu
快捷菜單
PopupMenu對(duì)象:通過(guò)操作按鈕來(lái)輸入/輸出
快捷菜單即將顯示
說(shuō)明:
這個(gè)事件允許你在它顯示之前修改快捷菜單。在修改快捷菜單時(shí),通過(guò)事件的按鈕編輯PopupMenu對(duì)象。這種相同的PopupMenu對(duì)象也因?yàn)楫?dāng)前的快捷菜單正在顯示而不能夠彈出。使用這個(gè)EndShortcutMenu事件利用快捷菜單執(zhí)行清除工作。
這些事件將被激活,在所有的快捷菜單的要素包括任意ObjectARX命令發(fā)生后
當(dāng)模式對(duì)話框顯示時(shí)不會(huì)觸發(fā)任何事件
參見(jiàn):
方法,屬性,事件:
BeginShortcutMenuCommand
BeginShortcutMenuDefault
BeginShortcutMenuEdit
BeginRightClick
ActiveX 和 VBA開(kāi)發(fā)指導(dǎo):
“使用事件”
例程:
Private Sub AcadDocument_BeginShortcutMenuOSnap(ShortcutMenu As AutoCAD.IAcadPopupMenu)
本例程演示當(dāng)在osnap模式下時(shí)立即截取一個(gè)快捷菜單
MsgBox “你剛才在osnap模式下激活一個(gè)快捷菜單”
Deactivate 事件
當(dāng)圖形窗口釋放時(shí)被觸發(fā)
See Also | Example
用法:
object.Deactivate()
對(duì)象:
Document對(duì)象
對(duì)象表達(dá)式,其結(jié)果為有效的容器對(duì)象,此處必須為文檔對(duì)象(document)
說(shuō)明:
當(dāng)模式對(duì)話框顯示時(shí)不會(huì)觸發(fā)任何事件
參見(jiàn) :
方法,屬性,事件:
Activate
ActiveX 和 VBA開(kāi)發(fā)指導(dǎo):
“使用事件”
例程:
Private Sub AcadDocument_Deactivate()
本例程演示截取圖形激活事件
當(dāng)圖形不集中時(shí)這個(gè)事件會(huì)被激活
激活示例程序:打開(kāi)兩個(gè)圖形窗口并從一個(gè)圖形窗口切換到另一個(gè)圖形窗口
MsgBox “你剛才激活了一個(gè)圖形!”
End Sub
EndCommand event
在命令執(zhí)行完成后立即被觸發(fā)。
See Also | Example:
用法:
object.EndCommand(CommandName)
對(duì)象:
Application
對(duì)象表達(dá)式,其結(jié)果為有效的容器對(duì)象,此處必須為文檔對(duì)象(document)。
CommandName
String
文件被打開(kāi)
發(fā)出的命令的名字。
說(shuō)明:
這個(gè)EndCommand事件緊跟著B(niǎo)eginCommand事件到AutoCAD完成正在執(zhí)行的命令之后。如果使用者沒(méi)有取消那個(gè)命令,結(jié)束命令就不會(huì)被觸發(fā)。
這個(gè)開(kāi)始命令事件被觸發(fā)為任一基本AutoCAD命令,或任一經(jīng)由ObjectARX申請(qǐng)登記在AutoCAD指令堆棧上,或視圖的 LISP vlax-add-cmd功能 。任何正常的defun'd C將被觸發(fā):因?yàn)樗荒軓拿疃褩V酗@示出來(lái),所以即使你激發(fā)它,它也不能完全的發(fā)揮功能,。如果你在執(zhí)行時(shí)需要LISP命令被識(shí)別出來(lái),你需要用視圖的 LISP vlax-add-cmd功能去正確從AutoCAD命令堆棧中激發(fā)出來(lái)。
如果你沒(méi)有對(duì)一個(gè)AutoCAD命令進(jìn)行定義那么你就利用LISP命令對(duì)其重新定義,通常AutoCAD 的命令只有在它們被觸發(fā)時(shí)BeginCommand才被激活。比如("LINE"命令……)。
AutoCAD命令成組的儲(chǔ)存在命令堆棧里。一個(gè)瞬間命令堆棧在創(chuàng)建per AutoCAD期間。這些堆棧由的基本命令組成,還有任意你加進(jìn)去的命令。
對(duì)話框顯示時(shí)不會(huì)觸發(fā)任何事件
參見(jiàn):
方法,屬性,事件:
BeginCommand
ActiveX 和VBA開(kāi)發(fā)指導(dǎo)
“使用事件”
例程:
Private Sub AcadDocument_EndCommand(ByVal CommandName As String)
'本例程演示截取圖形EndCommand事件
'當(dāng)圖形收到任一與本事件有關(guān)的命令時(shí)此事件被激活。
激活本例程事件:在繪圖區(qū)點(diǎn)擊任意的命令不管是直線命令,VBA, ACAD菜單,ACAD工具欄還是LISP之中的。當(dāng)這個(gè)命令完成后,這個(gè)事件將會(huì)被激活。
使用周期變化的“CommandName”確定哪個(gè)命令剛完成。
MsgBox“一個(gè)圖形已經(jīng)完”成& CommandName & “命令”
End Sub
EndLISP event
在LISP表達(dá)式執(zhí)行完成后立即被觸發(fā)
See Also | Example
用法:
object.EndLISP()
對(duì)象:
Application object, Document object
對(duì)象表達(dá)式,其結(jié)果為有效的容器對(duì)象,此處必須為文檔對(duì)象(document)
說(shuō)明:
這個(gè)事件將會(huì)被觸發(fā),在LISP表達(dá)實(shí)執(zhí)行完成后,或撤消對(duì)LISP表達(dá)式的執(zhí)行后。
“對(duì)話框顯示時(shí)不會(huì)觸發(fā)任何事件”
參見(jiàn):
方法,屬性,事件:
BeginLISP
ActiveX 和VBA開(kāi)發(fā)指導(dǎo)
“使用事件”
例程:
Private Sub AcadDocument_EndLisp()
'本例程演示截取圖形BeginLisp事件
本事件當(dāng)完成對(duì)一圖形的LISP表達(dá)式的運(yùn)行時(shí)被激活
激活本例程:開(kāi)始對(duì)LISP表達(dá)式求值并等著完成求值
MsgBox “一個(gè)LISP表達(dá)式已經(jīng)完成求值!”
End Sub
BeginShortcutMenuOSnap event
Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in osnap mode.
See Also | Example
Signature
object.BeginShortcutMenuGrip(ShortcutMenu)
object
Document object
An object expression that evaluates to a valid container object. In this case, the only valid container is a document.
ShortcutMenu
PopupMenu object; input/output from the handler
The 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 PopupMenu 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 command 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 Developer's Guide:
"Use Events"
Example
Private Sub AcadDocument_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 Sub
Deactivate event
Triggered when the drawing window is deactivated.
See Also | Example
Signature
object.Deactivate()
object
Document object
An 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 VBA Developer's Guide:
"Use Events
Example
Private 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 just deactivated a drawing!"
End Sub
EndCommand event
Triggered immediately after a command completes.
See Also | Example
Signature
object.EndCommand(CommandName)
object
Application
An object expression that evaluates to a valid container object. In this case, the only valid container is the application.
CommandName
String
The 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 AutoCAD 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 defun'd C: LISP function because it is not exposed to the command stack, even though you execute it from the AutoCAD command 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 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 you 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 Developer's Guide:
"Use Events
Example
Private Sub AcadDocument_EndCommand(ByVal CommandName As String)
' This example intercepts a drawing EndCommand event.
'
' 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 the "CommandName" variable to determine which command just finished
MsgBox "A drawing has just finished a " & CommandName & " command."
End Sub
EndLISP event
Triggered upon completion of evaluating a LISP expression.
See Also | Example
Signature
object.EndLISP()
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
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 modal dialog is being displayed.
?See Also
Methods, Properties, and Events:
BeginLISP
ActiveX and VBA Developer's Guide:
"Use Events
Example
Private 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
收藏
編號(hào):2674217
類型:共享資源
大小:857.27KB
格式:ZIP
上傳時(shí)間:2019-11-28
15
積分
- 關(guān) 鍵 詞:
-
輸送機(jī)-TGSS-50型水平刮板輸送機(jī)-
機(jī)頭段設(shè)計(jì)
輸送
tgss
50
水平
機(jī)頭
設(shè)計(jì)
- 資源描述:
-
輸送機(jī)-TGSS-50型水平刮板輸送機(jī)- 機(jī)頭段設(shè)計(jì),輸送機(jī)-TGSS-50型水平刮板輸送機(jī)-,機(jī)頭段設(shè)計(jì),輸送,tgss,50,水平,機(jī)頭,設(shè)計(jì)
展開(kāi)閱讀全文
- 溫馨提示:
1: 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
2: 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
3.本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
5. 裝配圖網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
裝配圖網(wǎng)所有資源均是用戶自行上傳分享,僅供網(wǎng)友學(xué)習(xí)交流,未經(jīng)上傳用戶書(shū)面授權(quán),請(qǐng)勿作他用。