Tuesday 20 December 2011

Using DialogButton with box yesno in Ax2009


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)
{
info( "We chose Yes");
}
else
if (db == dialogButton::No)
{
info( "We chose No");
}
Vivek Chirumamilla.

No comments:

Post a Comment