Monday, December 23, 2013

Yes or No Dialog box using x++

static void Job2(Args _args)
{

    Dialogbutton db;
;
    db = box::yesNo("Choose Yes or No", dialogButton::Yes, "Proceed or Dont");
    if (db == dialogButton::Yes)
    {
    info( "We chose Yes");
    }
    else
    if (db == dialogButton::No)
    {
    info( "We chose No");
    }
}

No comments:

Post a Comment