BeginDocClose 事件 (ActiveX)
在AutoCAD收到关闭图形的请求后立即触发。 支持的平台:仅限 Windows 签名VBA: object.BeginDocClose(Cancel)
例子VBA: Private Sub AcadDocument_BeginDocClose(Cancel As Boolean) ' This example prevents a drawing from closing. Cancel = True MsgBox "Please do not close this drawing." End Sub 可视化 LISP: Not available |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-19 06:45
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.