I have a grid subclass that has a custom method. This method received an object as a parameter.
loObject=THISFORM.grdList.COLUMNx.HEADER1 (x is the column number)
LPARAMETERS loObject
Inside the method I used:
WITH loObject
...
...
ENDWITH
What I notice is that if I look the value inside the With/Endwith for:
.parent.columncount gives me 1 as a result
and
loObject.parent.columncount gives me the correct result (x value in the loObject assign above)
Why is this happening?