Status bar customization

Personalizing status bar

To personalize the status bar, navigate to File > Tools > Options > Status Bar. Select checkboxes for the information that you want to appear on your status bar.


Change status bar color

Add following line to init method of form:

this.setStatusBarBackgroundColor(255,0,200,255);
Global, all forms. Add same line to \Classes\SysSetupFormRun\init

Solutions to change form color based on company account/environemnt:

http://patrikluca.blogspot.com/2010/03/changing-background-color-for-forms-by.html

http://www.agermark.com/2011/12/color-code-forms-in-ax-2012-depending.html

Custom Text in Status Bar

http://daxonline.org/1478-custom-text-in-status-bar.html

Form design property

Change value of StatusBarStyle property on form design.

Determines how to display the status bar on a form. Use this property to hide the status bar, display only help information, display status bar elements based on the WindowType, or to always display the full status bar. Forms with a WindowType of ListPage, ContentPage, or Workspace ignore this property.

When set to Auto it looks at the WindowType to infer the value. Lookups do not have status bar etc.


Support The Author

 If you found value in what I share, I've set up a Buy Me a Coffee page as a way to show your support.

Buy Me a Coffee

Post a Comment


All Comments


Mani 29 September 2017

Hi ,

I would like to add color on the status bar of AX 2012 forms. Done the changes with the code

this.setStatusBarBackgroundColor(255,0,200,255) its working fine on the forms but on the home screen its doesn't changing the status bar color. how to change achieve this

Regards,

Mani


Search

About

DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics 365 FO.

Authors are allowed to set their own "buy me a coffee" link.
Join us.

Blog Tags