The onClose Property
The onClose property is similar to the onShow property except that the specified function is called when the container is being closed. For example:
function OnClose(theContainer)
{
writeln("Hi, " + theContainer.name + " has terrible news ...");
}
 
function OnLoad(theContainer)
{
theContainer.onClose = OnClose;
}
Published date: 05/24/2022
Last modified date: 02/24/2022