Promotic

Object PmaActiveX (ActiveX)

Description:
The object serves to include an ActiveX object defined in the *.DLL, OCX file or in the external program (e.g. Microsoft Office) in the tree of Pma objects. The ActiveX object is then represented by the PmaActiveX object and its properties and methods can be called in algorithms.

No other Pma objects can be created in this object.
This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.
The usage of the PmaActiveX object requires purchase of the "PmDllActiveX" licence. When developing the application in the freeware mode PmFree, or with development environment and while testing it in runtime, this component is always functional.

To achieve the correct functioning, the ActiveX object must be properly registered, see How to register ActiveX object.
This object inherits properties, methods and events of the PmaObject object.
Properties and methods of this object:
AcxReturns the ActiveX object
Properties and methods inherited from the PmaObject object:
AddEventRegisters a function into selected event
GetInfoReturns the Info object with the specified name
GetOwnedByIndexReturns the subobject defined by its index
GetOwnedByNameReturns reference to the subobject defined by its name
GetOwnedByTypeArray of references to the subobjects
GetOwnedNumReturns number of subobjects in the object
GetParReading the value of the Pma object parameter (or its parents)
GetPathNameObject name with the path to this object
GetPermissionReturns permission of corresponding operation from object
MethodsAccess to designer's methods of this object
NameObject name (without the path)
ParentReturns reference to the parent Pma object
PmReturns reference to the Pma object or to its implementation subobject
RemoveEventUn-registers the function in the specified event
RootReturns reference to the root application object PmaRoot
Events inherited from the PmaObject object:
onStartIs triggered for each object in the runtime only once at the beginning
onStopIs triggered for each Pma object in the runtime mode only once at the stop of the application
Configuration tabs:
ObjectGeneral information about the object
EventsDefinition of object events algorithms
ActiveX eventsDefinition of the events algorithms of the ActiveX object
ActiveXDefinition of the ActiveX object that is represented by the object

History:
Pm9.00.00: Object name changed: PmActiveX -> PmaActiveX
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.