How to add company name and server name and current environment in form title bar in ax 2012?

Hi,

I want to show the current company name ,server name and current environment name ( e.g. test environment, or production environment) in the title bar of each Forms in AX 2012.

I also want to change the color of the title bar in Forms in AX 2012…

Thanks ,

Soumya ranjan

Go File>Tools>Options>Status bar

There you will find some checkboxes which if checked will show you the required info :slight_smile:

If you want to change the title of the window, change the Caption property. If you want to do it for all forms, put your code into SysSetupFormRun class. For example:

public void run()
{
    this.design().caption(this.design().caption() + ' ***');
    super();
}

Nevertheless I don’t think you can easily change the color.