You mean this is code that runs in the same form? Then is even more bizarre than I first thought :)
>Last night I've changed it here to just use thisform. I think this code was wrong. A similar code was used for Dynamic properties of the grid, but there was a check for the object name.
>
>Here we can just refer a thisform instead.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges