Wednesday, December 17, 2008

Form Design

public void init()
{
    Form            frm;
    FormDesign      dsgn;
    FormBuildDesign fbdsgn
    ;
    // you HAVE to use the template FormBuildxxxxx classes BEFORE the 
FormRun Init

    frm     = this.form();
    fbdsgn  = frm.design();
    fbdsgn.font('Arial');
    fbdsgn.fontSize(14);
    fbdsgn.labelFont('Arial');
    fbdsgn.labelFontSize(14);

    super();

    // this is TOO late

    //dsgn = element.design();
    //dsgn.font('Arial');
    //dsgn.fontSize(14);
    //dsgn.labelFont('Arial');
    //dsgn.labelFontSize(14);
}

No comments:

How to identify the user that was used to change an object from AOT in AX2012

Get the object name for which we need to track these (user and date&time) information's. Login to SQL Server Management Studio an...