Advertisement
ramkesheoran

DialogOkCancel

Dec 16th, 2011
3,165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XPP 0.27 KB | None | 0 0
  1. static void DialogOkCancel(Args _args)
  2. {
  3.     Dialog      dialog;
  4.     ;
  5.     dialog = new Dialog("My Dialog");
  6.     dialog.addText("Select field here");
  7.     dialog.addField(typeId(EmplId));
  8.     dialog.run();
  9.     if (dialog.closedOK())
  10.     {
  11.         info("Ok");
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement