Command line error with dcl_Grid_SetItemStyle in version 5.0.0.15

Started by hgcad, July 24, 2008, 07:48:29 AM

Previous topic - Next topic

hgcad

Command line error when dcl_Grid_SetItemStyle in 5.0.0.15 is set to 30 or 20

eg. below

Command:
Document "C:\Program Files\Program 2004\qcTs01.dwg" has a command in
progress.
Hit enter to cancel or [Retry]: R
*Cancel*

Can someone help please.
Thank you in advance.

hgcad

BazzaCAD

Is this on a modal or modeless form?
When are you trying to change the ItemStyle, OnInitialization or later?
Maybe it's a version 5.0.0.15 bug & you should try it in version 5.0.0.19.
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

Fred Tomke

Hi,

at first try with Alpha 19 like Barry said. It should work. I use this, too. If it doesn't work, just try a trick:

Try to create a new drawing before calling your command. Change back to the drawing before and retry. Can you reproduce the problem?
Sometimes AutoCAD does not finish/cancel a command completely. Then this message also occur even if you have no other application running. After starting the opening command or new command everyting works fine. It's not seldom in Civil 3D.

If you can reproduce this after new command then have a look into your application if any command was started before. Please note, that some events won't work very well if a command is active and the control or even the form uses EventInvoke=AllowCommand. The events cannot be called transparently. But I'm not sure it this will help in this case. Maybe you should debug this. Watch the systemvariables cmdnames and cmdactive while debugging.

Fred

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

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