Showing posts with label Simple Dialog Box in Ax 2009. Show all posts
Showing posts with label Simple Dialog Box in Ax 2009. Show all posts

Tuesday, 20 December 2011

Simple Dialog Box Example in Ax 2009


Hi Friends ,
Today we are going to have a simple DialogBox execution with example,
static void Simple_Dialog(Args _args)
{
dialog dlg;
dialogGroup dlgGroup;
dialogField dlgField;
;
dlg = new dialog("Simple Dialog");
dlgGroup = dlg.addGroup("Customer");
dlgField = dlg.addField(TypeID(custAccount),"Account
Number");
if (dlg.run())
{
print dlgField.value();
pause;
}
}
Vivek Chirumamilla.