Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
.NET
»
Topic:
How can I cancel drawing opening?
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: How can I cancel drawing opening? (Read 1554 times)
0 Members and 1 Guest are viewing this topic.
Andrey Bushman
Swamp Rat
Posts: 864
How can I cancel drawing opening?
«
on:
February 18, 2013, 03:14:56 AM »
How can I cancel drawing opening?
Logged
BlackBox
King Gator
Posts: 3770
Re: How can I cancel drawing opening?
«
Reply #1 on:
February 18, 2013, 12:30:17 PM »
Not sure... perhaps register a DocumetBecameCurrent event handler to filter for this particular document you don't want being opened, and invoke the Close Command asynchronously?
Logged
"How we think determines what we do, and what we do determines what we get."
Andrey Bushman
Swamp Rat
Posts: 864
Re: How can I cancel drawing opening?
«
Reply #2 on:
February 19, 2013, 05:00:45 AM »
I need to cancel document opening, or unload it before acaddoc.lsp will be loaded
Logged
BlackBox
King Gator
Posts: 3770
Re: How can I cancel drawing opening?
«
Reply #3 on:
February 19, 2013, 09:32:39 AM »
Consider the
CloseAndDiscard()
Method from
Initialize()
(
for your specific Document, of course
)
Logged
"How we think determines what we do, and what we do determines what we get."
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
.NET
»
Topic:
How can I cancel drawing opening?