>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)
>
I prefer type() function. vartype and pemstatus gives error if there isn't any object about looked property...
?vartype(myform.myproperty) &&--- it will give error if there isn't object named myform
?type("myform.myproperty") &&-- it won't give error.