>
>PUBLIC oObj
>
>oObj = CREATEOBJECT("MyObj")
>testit()
>
>FUNCTION testit()
>LPARAMETERS oObj
>
> ? oObj.Test1
>
>RETURN
>
You've setup your testit() method to accept a parameter (scoped local) called oObj. However, when you called testit(), you didn't pass it any variables. So, oObj is set to a local .F. in the testit() function. Local variables have precedence over public ones (that is, VFP will use the locally defined variable instead of the public one).