IF PEMSTATUS(m.this,"Parent",5) ; && Expected .F.Interesting. I would never have thought to use the PEMSTATUS() function like this. If I want to check to see if the current object has a parent, I would do it like this:
IF TYPE( "This.Parent.Name" ) = "C"
Same for ActiveForm,ActiveControl ....And I have always checked for the existence of Activeform and ActiveControl using the TYPE() function as illustrated above. It would never have occurred to me to try to use PEMSTATUS() for something like this...
Aside from this issue, the GETPEM() function is a design time function that should be used to help you create builders. Therefore, using it in a class definition the way that you are is not the correct way to use the function....