Finally I got it working by using the WindowCloseListenr
importClass(java.lang.System);
importPackage(org.apache.pivot.wtk);
function windowClosed(w){
if("Yes".equalsIgnoreCase(w.getSelectedOption())){
//do something here
}
}
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Alert-opened-and-the-rest-of-code-keep-going-tp2841188p2844144.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
