Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Call - method of object PmAction

Description:
Calling action.
Syntax:
Call
Calling:
PmAction.Call()
Note:
The method can also be called in the graphic item events for Web Panels.
 
This method calls the action, which means 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 Example of creation and usage of PmAction object.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice