Cancel Autocad command......Or maybe Upgrade?

Started by Hypersonic · 2008-10-04 13:40 UTC · 4 replies · SMF topic #444

I am trying to find out how to get the line command,,, and any other command for that matter to cancel, when a button on an object dcl button is hit...

I was then informed that this happens automatically when a button is hit in "Open" dcl,

So my bigger question is: is Open dcl different?  I thought I had the same "stuff"?

Will my code be compatible?

Thanks for any advice!
Try adding ^C^C to the front of your event handler name on the events tab for the OnClicked event.
author=Hypersonic link=topic=444.msg1985#msg1985 date=1223127634 wrote:
............

So my bigger question is: is Open dcl different?  I thought I had the same "stuff"?

Will my code be compatible?
.......


Yes, they are different.
No, the code will not be compatible.




So how majorly different is it?

Will "everything" need to be re-written?

Are the .odc files compatible i.e. where you make the forms etc?

are the button calls the same....

Trying to figure out how to attempt an upgrade....

author=Hypersonic link=topic=444.msg1988#msg1988 date=1223210388 wrote:
So how majorly different is it?
Will "everything" need to be re-written?
Are the .odc files compatible i.e. where you make the forms etc?
are the button calls the same....
Trying to figure out how to attempt an upgrade....


It depends which version of ObjectDCL you're using.  If it's an older version, your forms and code should port pretty easily with minor changes in some of your code.