Changing AX Color

Hi world,

Can I change the color of Microsoft Dynamics AX 2009? How to configure it?

Thank you so much!

Jr Barte

In the class SysSetUpFormRun class add a following code in run method

public void run()
{
super();
this.design().colorScheme(FormColorScheme::RGB);
this.design().backgroundColor(WinAPI::RGB2int(255,0,0));
}

color settings like windows is not available in AX.

only few colors can change for Forms through development

Hi,

As previous poster suggested, in ‘run’ method of ‘SysSetupFormRun’ you can make those changes. In fact by using switch statement, you can differentiate background colour for each company like -

switch (curExt())
{
case ‘’:

case ‘’:

}

You can also prevent hard coding by designing colour palette in table.

To see how you can do this and also an example for changing colour for records in form, please see ‘tutorial_Form_DisplayOptions’

Best wishes,

Based Upon the company we can change the color of ax
switch(curext())
{
case “CEU”:
this.design().backgroundColor(red);
break;

case “DMO”:
this.design().backgroundColor(yellow);
break;

default:
break;
}

Thank you so much guys for the help…