button with asynchronous event handler, clear command line

Started by marcoheuer · 2016-05-18 09:08 UTC · 4 replies · SMF topic #2373

hello,
i have a modeless dialog and a button with asynchronous event handler.
if i click the button and the command line is not clear or an other command is active, then i get an error.

how can i clear the command line or cancel an active command?

thanks and regards
marco
Hi, Marco, if I remember right, you should place a ^C^C right before the handler name in the events tab.
Regards, Fred
hello fred,
thanks for the answer. this work.

but now i have two *cancel* in the console. can i suppress this somehow?

regards
marco
I fear, you can't.
I remember to get it also selecting any non-transparent AutoCAD-command from the ribbon bar.
Regards, Fred
that's a pity

regards
marco