>>>>Is there any difference between these two functions - Dragan's anticipated comments aside - or advantage of one over the other?
>>>>
>>>>IF VARTYPE( THISFORM.tmrCheckMousePosition ) = 'O'
>>>>
>>>>
>>>>IF PEMSTATUS(THISFORM.tmrCheckMousePosition,'O',3)
>>>>
>>>
>>>The second syntax is incorrect.
>>>
>>>
PEMSTATUS()>>>
>>>If you need to check for a property or a method, use pemstatus. Otherwise you may check with vartype. It all depends on what you're trying to do.
>>
>>Syntax aside, obviously I'm checking to see if an object exists. Just an exacto knife and a pencil, Nadya.
>
>In this case, I would try to use GETPEM() or check for type('myObject.myOtherObject.Name') = 'C'
Did you mean 'O' instead of 'C' ? I'm checking for an object.