The Interface class / ui.Interface methods |
Get the number of child instances for a given program name.
ui.Interface.getChildInstances( name STRING ) RETURNING result INTEGER
The ui.Interface.getChildInstances() class method returns the number of child instances of a program attached to the current parent WCI program, based on the name of the child program passed as parameter.
The name of a child program is defined by the ui.Interface.setName() method.
The getChildInstances() method is typically used to check if a give child program is already started, to avoid multiple instances of the same program in a given WCI container.