Call - method of object PmAction

Calling action.
The method can also be called in the graphic item events for Web Panels.
This method calls the action. It means that it executes the action content - based on action type. Action type and additional parameters are defined when creating the action by the Pm.CreatePmAction method.
If the designer assigned the PmAction object to some system component then the Call method does not need to be called because it is called by the system component itself. See Usage of the object PmAction.
So far there is just one action type available (see the nType parameter in the CreatePmAction method) that executes the calling of user method (defined on the Methods page) of the object. This method must have two parameters:
- oSystem: Object of the PmMap type that contains system information of the action. These object properties may vary based on the origin of calling the action. If the action was called by the designer by the Call method then this object is empty (there are no properties).
- oPrivate: Object PrivateData. There are designer defined properties in this object.
See The example of creation and usage of PmAction object.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice