Form classes in AX 2012.

static void createForm(Args _args) { Args args; Form form; FormRun formRun; FormBuildDesign fbDesign; FormBuildDataSource fbDS; FormBuildGridControl fbGrid; FormBuildTabControl fbTab; FormBuildTabPageControl fbTabPage1; DictTable dictTable; FormControlType fctTabPage = FormControlType::TabPage; FormControlType fctTab = FormControlType::Tab; FormControlType fctGrid = FormControlType::Grid; form = new Form(); dictTable = new DictTable(tablenum(VendTable)); fbDS = form.addDataSource(dictTable.name()); fbDS.table(dictTable.id()); fbDesign = form.addDesign("Design"); fbDesign.caption("Customer information"); fbTab = fbDesign.addControl(fctTab, … Continue reading Form classes in AX 2012.