Status bar color change

This question has suggested answer(s)

 

 

 

 

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()

{

 

 

All Replies