Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmObject (Object)

Description:
The object is the parent of all Promotic objects, which means that all Promotic objects have also properties and methods of this object besides their own properties and methods.
 
The PmObject object includes common properties and methods that can be used with all other objects. It is the abstract Promotic object, i.e. it can't be created in the objects tree. So it is only the formal object where all common features of all Promotic objects are recorded.
Properties and methods:
ClassName Name of the object type
GetInfo Getting the reference to the Info object with the specified name
GetOwnedByIndex Returns the subobject defined by its index
GetOwnedByName The 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 PROMOTIC object parameter (or its parents)
GetPermission Getting permission of corresponding operation from object
Name Object name (without the path)
Methods Access to methods of this object
Parent The reference to the parent object in the application tree
PathName Object name with the path to this object
Pm Reference to the Promotic object or to its implementation subobject
Root Reference to the root application object PmRoot
Events:
onStart Fires for each object in the runtime only once at the beginning
onStop Fires for each Promotic object in the runtime only once at the stop of the application
Configuration windows:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
Data List of defined variables. The page is common to more objects. The common description is in the PmObject object.
DDE Definition of conditions for DDE sharing the variables
Methods Definition of user's methods of the object
Permissions This page is common for multiple Promotic objects (PmRoot, PmWorkspace, PmWeb, PmWebDir, PmWebInfo, PmWebFolder, PmWebLang, PmTrend, PmData, PmDataTable, PmAlarmEvent, PmReport) and therefore the common configuration description is published in Description of the page Permissions of the PmObject object. But the permissions list is published for the corresponding object individually in its description of this page
List of subobjects:
User(User) Object represents a logged on user
Var(Variable) This object represents one data item of the object
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice