Foundation > Rogue Wave Script Programming > Handling Panel Events > The onClose Property
 
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;
}

Version 6.2.1
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.