|pMe||(Object) Reference to the graphic item where the event rises.|
|pEvent||(Object) A referrence to object describing detailed information about the specific event.|
pEvent.Reason - (String) Information regarding panel closing.
This value is transmitted from calling the PmiRoot.Close(sReason) method. If the panel is not closed by the PmiRoot.Close method then the value is an empty string.
This can be used, for example, if the panel is open as modal window (see How to work with modal windows). If the modal panel is closed by the OK button, the PmiRoot.Close method sets the sReason parameter to, for example, "ok". The PmiRoot.onPanelStopEnd event it is possible to test this value and the correctly fill in the value PmiRoot.ReturnValue.
If pEvent.Reason = "ok" Then
Dim text0, text1
if (pEvent.Reason == "ok")