Examples of using Pevent in English and their translations into Czech
{-}
-
Colloquial
-
Official
The event fires before loading the pEvent.
The pEvent parameter is not used here because this event does not need any additional information.
The key(character) code can be read from pEvent.
For example if the object includes 1000 variables andeach one has calling enabled then by writing new values into all variables of the object can cause calling the onItemBeforeWrite event 1000 times each time with another pEvent.
See the configurator" In onDraw the pEvent.
If needed to execute some code only for local users and verified network users,then it is possible to test the values of the pEvent.
Caution 1: It is always necessary to check the pEvent.
These parameters are then accessible in the pEvent.
PageString property in onPageModify event,then the pEvent.
InputBox, etc., into the script when the pEvent.
ErrorCount-( Long) The number of data items in the array pEvent.
In parameters of this event it is possible to find out from variables pEvent.
Deatiled user information( User object)are avilable in the pEvent.
The button state can be read directly in onButtonUp event from pEvent.
In the PmiRoot graphic item, this event is fired only for the value pEvent.
In this event the PmMenu object can be filled available in the parameter pEvent.
At script errors only the first rise of the error is captured only if pEvent.
The variables of the parent item are accessible in onDraw event by using the pEvent.
In the onDataReceive event it is possible to check the received variables from the pEvent.
This parameter(in this case xy)is then passed to the onAppSignal event as the pEvent.
If such method is used,then it can result in the consequently NOT calling the pEvent.
Specifies for which received variables the event will be triggered andwhat will be saved into the pEvent.
Fires even if the whole communication procedure failed andno values were obtained- if so, the pEvent.
If the keyword values and/or the template has been changed,then it is necessary to enter 1 into the pEvent.
If not set and the site requires the authentication,then the onEndOfTransfer event fires with the pEvent.
PageString property in onPageModify event- The content of requested Web file will be set by script into the pEvent.
The drawing area(represented by the CanvasCtx object)is available for onDraw drawing event( JavaScript) via the pEvent.
If checked, then enables access from drawing event onDraw to the variables of the parent graphic item by using the pEvent.
For example if 10 data items are received from the OPC server, then the event is fired foreach item of the array and the name of the item is in pEvent.
It is called based on the communication progress- for example if a message is received, containing only 5 variables, then the event is fired andthese 5 variables will be in pEvent.