To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
This method is used to get the number of child applications which belong to the current parent MDI container. This method accepts no parameters. It does not count all the child applications linked to the given MDI container, it counts only the currently running child applications. This method must be called from within the program serving as the MDI container. It returns an integer specifying the number of all child applications currently running. It returns 0, if no child applications are running:
...
MENU
COMMAND "RUN_child"
RUN "child_app" WITHOUT WAITING
COMMAND "Exit"
IF ui.Interface.getChildCount()>0 THEN
ERROR "Yo have to close all child applications before exit"
ELSE
EXIT MENU
END IF
END MENU
...