onOpen - event of the PmaPanel object
Description:
The event is triggered after opening the panel for example by the
Pm.CreateView method.
If, for example, the panel has been opened before and only now it is switched to the panel (e.g. by the selection from the panel list from PROMOTIC the main menu in runtime or by a script), then the panel gets the focus, this event
is not triggered but
the onFocusIn event is triggered instead.
This method/property/event is considered obsolete and is functional only if the "
Level of integration of the 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 event it is better to use the
PmgRoot.onPanelStartEnd event.
Parameters:
pMe | (Object) Reference to the PmaPanel object where the event rises. |
pEvent | (Object) Reference to an object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oCommGroup = pMe.Pm("/Comm/Group1");
oCommGroup.UpdateRate = 1000;
Dim oCommGroup
Set oCommGroup = pMe.Pm("/Comm/Group1")
oCommGroup.UpdateRate = 1000