Below is the line code that will help you to ask the confirmation from the user before executing the actual logic.
if (box::yesNo('[Confirmarion message]', dialogButton::Yes, "Confirm changes") == dialogButton::Yes)
{
info(strFmt("Yes"));
//Your Logic if your select the Confirmaiton message Yes
}
Thank you
Keep Daxing :)
No comments:
Post a Comment