Thursday, August 23, 2007

Customized Form as Dialog Box

Scenario: I need to create a runbase dialog with saving options. I need to have a runbase calling a form present in AOT.

Answer:
Override dialog method of runbase
public Object dialog()
{
FormRun dialogForm;
Args args = new Args(formstr(CustVendPaymProposalModPaymAttribDialog));
;
args.caller(this);

dialogForm = classfactory.formRunClass(args);
dialogForm.init();

return dialogForm;
}

CustVendPaymProposalModPaymAttribDialog is the dialog form which was created in order to
facilitate the design.

4 comments:

  1. Hi Abdul,
    Do you have any idea how to create a dialog box in EP to capture some specified values

    ReplyDelete
  2. Can you provide a step-by-step on how to put the code in? I am new to Ax programming and there is so much to know and do it in.

    ReplyDelete
  3. Yet another worthless blog...

    ReplyDelete
  4. Nice staf, men! Thank4post
    http://anrobannui.chez.com/sozdanie-programm-besplatno/programmu-charles-na-russkom.php

    http://rasysiton.chez.com/?c=3&p=346

    ReplyDelete