OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Danner on January 14, 2010, 07:10:56 AM

Title: Grid - deselect CurCell
Post by: Danner on January 14, 2010, 07:10:56 AM
Hi

After making a cell in a grid control active/current - my application subsequently needs to deselect the grid control of any active cells. 

I tried (dcl_Grid_SetCurCell MyProject_TestProject_MyGrid -1 -1), but it returns an error.  It seems that the only way of deselecting a cell is by choosing another cell on the grid. 

Just wondering if I've missed something obvious, before I log it on the wish list.

Cheers
Title: Re: Grid - deselect CurCell
Post by: owenwengerd on January 14, 2010, 08:16:08 AM
What error do you get when you call SetCurCell -1 -1?
Title: Re: Grid - deselect CurCell
Post by: Danner on January 14, 2010, 09:08:25 AM
error: bad argument type: stringp nil
Title: Re: Grid - deselect CurCell
Post by: Danner on January 14, 2010, 09:25:02 AM
Oops, on further investigation - the call only fails on this particular project. I need a closer look at my project.

Very sorry about that (and after reading the posting guidelines thread....)