>Nadya,
>
>This is strange, and show another VFP side behaviour;
>AS Object it would have to be ignored from VFP.
>
>I do not use AS when a variable is declared,
>now I have an other good reason to continue therefore.
>
>Fabio
I was not able to see hourglasses right now with or without AS Object. That's the problem. Sometimes I see them everytime and sometimes I do not see them at all.
I closed VFP and re-opened. Now I see them again with or without this code.
However, I do not see them for another form which uses cGrid class and not my grdSorting class. Each Header object has code which calls grid's SetOrder method. It also doesn't set Header's pictures.
So, the problem must be related with my code.
And I just confirmed it. I put the same grid on that form but using my class, so I have 2 grids on the form. The original grid doesn't show hourglass and the new grid does. Something's fishy here, but I don't know what could be wrong...
If it's not broken, fix it until it is.
My Blog