This method/property/event is considered obsolete and is functional only if the Level of integration of panel viewer and the local application configurator is set to full - FULL access from scripts to the whole application (only for VBScript and if the Enable multiple opening of local panel configurator IS NOT SET.
Instead of this property it is better to use the PmiRoot.ClientType property.
nType = oPanel.ViewerType
If pMe.PmPanel.ViewerType = 1 Then
'algorithm for local panel
'algorithm for Web