To run a form using classfactory use this code :
FormRun formRun;
;
args.name(formstr(salesTable));
formRun = classfactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.wait();
To call a form's menuitem use this one :
FormRun _formRun;
;
args = new Args();
args.parmObject(_formRun);
_formRun = new MenuFunction(menuitemdisplaystr(Address), MenuItemType::Display).create(args);
_formrun.run();
Happy Daxing!
Aucun commentaire:
Enregistrer un commentaire