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 Pma objects tree. 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:
AddEvent()Registers a function into the specified event
GetInfo()Returns the Info object with the specified name
GetOwnedByIndex()Returns the subobject defined by its index
GetOwnedByName()Returns reference to the subobject defined by its name
GetOwnedByType()Array of references to the subobjects
GetOwnedNum()Returns number of subobjects in the object
GetPar()Reading the value of the Pma object parameter (or its parents)
GetPathName()Object name with the path to this object
GetPermission()Returns 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
Pm()Returns reference to the Pma object or to its implementation subobject
RemoveEvent()Unregisters 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 runtime only once at the beginning
onStopIs triggered for each Pma object in runtime 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.27 SCADA system documentation MICROSYS, spol. s r.o.

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