The OnLoad Function
When an IlvContainer object is created, it looks for a Script function OnLoad and invokes it, passing the container as its argument. If there are several OnLoad functions, the container will look in the following modules in order and call the first OnLoad function encountered:
1. The inline script module
2. The default Script module
3. Other Script modules
The Script function OnLoad should have the following signature:
function OnLoad(theContainer)
{
// Initialization code
}
The OnLoad function is generally used to perform initialization once the panels in the application have been created.
Published date: 05/24/2022
Last modified date: 02/24/2022