Question Status

Suggested Answer
Zach Henry asked a question on 1 Mar 2012 12:44 PM

 

 

 

 

I am working on being able to change the color of the status bar depending on which legal entitiy that you are looking at.

I am able to get this to work by inserting this attached code in the SysSetupFormRun class. It works exactly as expected with one catch it doesn't change the color for the main AX window. It stays at the factory color but as soon as I dig down into an option the colored status bar shows up. Then as I move back the main color disappears. Has anyone done or have a suggestion?

 

public 

 

 

 

 

 

 

 

super();

 

 

 

switch(curext())

{

 

 

 

case "HUT":

this.setStatusBarBackgroundColor(

 

254,255,0,0);

 

 

 

break;

 

 

 

case "DAT":

this.setStatusBarBackgroundColor(

 

254,150,0,255);

 

 

 

break;

 

 

 

default:

 

 

 

break;

void run()

{

 

 

Reply
yazizi responded on 28 Sep 2013 7:42 PM

Have you figured out how to change the color on the status bar on the main AX area pages?

Reply
Suggested Answer
Francisco Silva responded on 4 Oct 2013 10:03 AM

i am not a developer but maybe this link can help you guys!

blogs.msdn.com/.../changing-the-background-color-on-ax-forms-in-ax-2012.aspx

Reply
Suggested Answer
Francisco Silva responded on 4 Oct 2013 10:03 AM

i am not a developer but maybe this link can help you guys!

blogs.msdn.com/.../changing-the-background-color-on-ax-forms-in-ax-2012.aspx

Reply