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

Started by Hypersonic, October 04, 2008, 06:40:34 AM

Previous topic - Next topic

Hypersonic

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!

owenwengerd

Try adding ^C^C to the front of your event handler name on the events tab for the OnClicked event.

Kerry

Quote from: Hypersonic on October 04, 2008, 06:40:34 AM
............

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.




Perfection is not optional.
My other home is TheSwamp

Hypersonic

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....


owenwengerd

Quote from: Hypersonic on October 05, 2008, 05:39:48 AM
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.