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