Hi Friends,
Today we have a simple example of using the dialog button and its behavior with YesNo box is given here
Dialogbutton db;
;
;
db = box::yesNo("Choose Yes or No", dialogButton::Yes, "Yes
No Box Example");
if (db == dialogButton::Yes)
{
No Box Example");
if (db == dialogButton::Yes)
{
info( "We chose Yes");
}
else
if (db == dialogButton::No)
{
else
if (db == dialogButton::No)
{
info( "We chose No");
}
Vivek Chirumamilla.
No comments:
Post a Comment