ClientType - property of the PmForm object
Returns value that represents Pmf object viewing type.
0 - development mode
1 - runtime mode (local)
2 - runtime mode (Web browser)
Property access for read only
. This method is also functional in Web panels
var nClientType = oForm.ClientType;