//popup messagebox Messagebox.show("Are you sure?", "Question", Messagebox.OK | Messagebox.CANCEL, Messagebox.QUESTION, new EventListener() { public void onEvent(Event event) throws Exception { //if clicks ok to do something if (((Integer) event.getData()).intValue() == Messagebox.OK) { //to do something } } });
沒有留言:
張貼留言
留個話吧:)