3 Replies Latest reply on Sep 21, 2006 8:32 PM by peterent

    how to suspend the script be executed before Alert.show() completed?

    01robert Level 1
      how to suspend the script be executed before Alert.show() completed?
      In a window, when users want query and display new data, they should be asked whether to save the old data. The queryAndDispleyNewData script should not be executed untile the old data is saved or be gived up.

      queryNewData(){
      if (Alert.show(askSaveOrNot)==YES) doSave();
      queryAndDisplyNewDate_Script;
      }
      however, the face if the queryAndDisplyNewDate_Script is always executed before doSave(). how could I do?

      Any suggestion will be appreciated.