Hi ho -  here we go :

 

static void TRA_Job_Dialog_2A(Args _args)

{

    Dialog      dlg;

    DialogField df;

    FormStringControl fc;

    int n;

 

    dlg     = new Dialog("Example TRA_Job_Dialog_2A");

    df  = dlg.addField(TypeId(CustAccount), "Account Number", "Account Number Help");

 

    fc=df.fieldControl();

    fc.colorScheme(FormColorScheme::RGB);

    fc.backgroundColor(WinAPI::RGB2int(120,0,120));  // change this to any color you like ;-D

    dlg.run();

}

 

HAVE FUN, Tobias

 


Von: dgaethofs [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 7. Oktober 2004 16:12
An: [EMAIL PROTECTED]
Betreff: [Axapta-Knowledge-Village] Re: backgroundcolor

 


Tobias,

This is what I did.

static void TRA_Job_Dialog_2A(Args _args)
{
    Dialog      dlg;
    DialogField dlgFld;

    dlg     = new Dialog("Example TRA_Job_Dialog_2A");

    dlgFld  = dlg.addField(TypeId(CustAccount), "Account
Number", "Account Number Help");

    dlgFld.backgroundColor(13);

    window 80, 50 at 10, 10;

    dlg.run();

    pause;
}

I can only use a digital number here.

regards,
Danny





Sharing the knowledge on Axapta.





Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to