<< Click to Display Table of Contents >>
hpXContainer |
Object used internally on the Faceplate Screen, its function is to calculate the coordinates of up to 256 grid cells according to a user configuration, creating and positioning objects automatically as children. It can also be used outside a Faceplate Screen, in the context of a normal process Screen where users must display a grid of objects. Its mais functions are the following:
•Receiving all grid settings, such as the number of columns, rows and breaks
•Calculating the coordinates of each grid cell, based on the parameters passed on
•Receiving settings for adding objects, that is, the parameters used in the AddObject method
•Executing the AddObject method internally
•Informing whether a child object was successfully created or not
•Returning a reference to an object just created for use by script
This way, all objects created are children of a container that calculates and places each one of these objects automatically.