Hi Abhishek
>Is there any function to check for the prescence of a property in an object. Or do I have to write IF conditions so as to exclude objects like LABEL, COMMANDGROUP etc.
No, you don't need lots of IF statements, just use code like this:
FOR lnCnt = 1 TO This.Objects.Count
loObj = This.Objects[ lnCnt ]
IF PEMSTATUS( loObj, 'setfocus', 5 )
ELSE
ENDIF
ENDFOR
----
Regards
Andy Kramek