ListView lastClickedColIndex

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ListView lastClickedColIndex

Ian Bartholomew-17
Slightly obscure this one ..

ListView maintains an instanceVariable, lastClickedColIndex, which remembers
the index of the last clicked (sorted) column.  If you have used
#removeColumn: to reduce the number of available columns then it is quite
possible to end up in a situation where the instVar refers to a column that
no longer exists.  This will result in a walkback in at least one, and
probably both, of the methods in which the instVar is referenced.

Regards
Ian


Reply | Threaded
Open this post in threaded view
|

Re: ListView lastClickedColIndex

Blair McGlashan
"Ian Bartholomew" <[hidden email]> wrote in message
news:VifZ8.18395$VP6.1284296@stones...
> Slightly obscure this one ..
>
> ListView maintains an instanceVariable, lastClickedColIndex, which
remembers
> the index of the last clicked (sorted) column.  If you have used
> #removeColumn: to reduce the number of available columns then it is quite
> possible to end up in a situation where the instVar refers to a column
that
> no longer exists.  This will result in a walkback in at least one, and
> probably both, of the methods in which the instVar is referenced.

Thanks Ian. Recorded and will be fixed for 5.02.

Regards

Blair