James,
Labels have a TabIndex, and evidently a Hidden TabStop, in order to support hotkey access to fields. Since the label can't get focus it goes to the next object in the taborder. You might want to either also test the baseclass to make sure it's not label, or put code in your lowest level Label class to ignore the error caused when trying to access that property.
PEMSTATUS() and GETPEM() can be two of the buggiest functions in VFP.
>Does everyone know that PEMSTATUS("label","tabstop",5) returns .T.??
>
>M$ tech support tells me that there is actually a .tabstop property in a label, but the property is not "publicly exposed". What this means, however is that
>
>IF PEMSTATUS(thisform.controls(i),"tabstop",5)
>thisform.controls(i).tabstop = .F.
>ENDIF
>
>will cause an error.
>
>Are there any other PEMSTATUS() anomolies that anyone knows about??