button with asynchronous event handler, clear command line

Started by marcoheuer, May 18, 2016, 02:08:53 AM

Previous topic - Next topic

marcoheuer

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
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

Fred Tomke

Hi, Marco, if I remember right, you should place a ^C^C right before the handler name in the events tab.
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

marcoheuer

hello fred,
thanks for the answer. this work.

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

regards
marco
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

Fred Tomke

I fear, you can't.
I remember to get it also selecting any non-transparent AutoCAD-command from the ribbon bar.
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

marcoheuer

Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office