|nType||(Long) Created action type. There is just a single type so far.|
1 - An action is created that represents the calling the designer's method of the Pma object or Pmg object (i.e. methods defined on the "Methods" tab).
Therefore it is necessary to create the designer's method with defined name (this name is set into the Par2 parameter) in some object (such object is then set into the Par1 parameter) The method has two parameters:
oSystem - Object of the PmMap type. Properties of this object are set by system based on the source of calling. See Usage of the PmAction object.
|Par1||(Object) Object (i.e. Pma object or Pmg object) containing the designer's method.|
|Par2||(String) Name of designer's method.|
var oAction = Pm.CreatePmAction(1, pMe, "MyMeth1");