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.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.