[SOLVED] DragOnDropBegin cancelled DragOnDropFromControl [6.0.0.2]

Started by stephan_35 · 2009-09-01 10:44 UTC · 4 replies · SMF topic #894

Hello Owen,

I saw that you enabled the CTRL and SHIFT Key with DragOnDropBegin event,thanks for this !

But, now DragOnDropFromControl Event is not call  ;D

Best regards

I noticed that you defined this event handler twice in your latest test.lsp. Are you sure you're not getting confused by the duplicate definition?
author=owenwengerd link=topic=894.msg4454#msg4454 date=1251818228 wrote:
I noticed that you defined this event handler twice in your latest test.lsp. Are you sure you're not getting confused by the duplicate definition?


Yes, and corrected now.

This exemple is set to synchronous .

Work fine in this way, but if you set TreeControl event invoke to asynchronous, something strange appening :

Only OnDragnDropBegin event is call, then when you try to enter something in autocad command line, this string appear "(_>" ???

Remember multiline in textbox ???

Best regards
Attachments
I think that is due to a bug that I fixed this morning. Alpha 2 unintentionally escaped the quotes when calling an asynchronous event handler with a string argument, which would cause this. That is now fixed for the next build.
Hello owen,

With new ARX, now, The two events : OnDragnDropBegin & OnDragnDropFromControl are launched with asynchronous event invoke..

Thanks

Best regards.