Thank you, Girish,
This code really helps me to create an info box.
But I am facing an issue while click on "NO" in info box, It is also creating Payment Proposal instead cancel the Payment and stay at same screen.
str strMsg = "The total amount to Pay" + any2Str(AmountVal);
dialogBtn = Box::yesNo(strMsg, DialogButton::No);
if(dialogBtn == dialogButton::Yes)
{
}
next clicked();
if(dialogBtn == dialogButton::Yes)
{
}
else
{
Info("Cancelled");
}
I need when click on "YES" , It will create Payment Proposal as standard, but when click on "NO" , It will cancel Payment Proposal and stay as same screen to edit amount.
But , what is going on when we click on "NO" it is also creating Payment Proposal.