web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

CheckBox Form Control Change color

(0) ShareShare
ReportReport
Posted on by

Hi,

I am able to change background colour of string edit, int edit form controls, but I am not able to change the background colour or foreground colour of checkbox form control.

Is there any way I can change the colour of the checkbox so that it gets highlighted?

My requirement is to change the colour when check box value is yes.

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Dhruvil,

    DisplayOption method should work with checkboxes as well. Are you using this approach or different? What AX version are you using?

    docs.microsoft.com/.../specify-color-font-background-controls

  • Community Member Profile Picture
    on at

    Hi Sergei,

    My form has both grid and non grid elements.

    For the grid elements, I am using display option and for the non grid elements, I am using activated event handler of datasource.

    My check box is outside the grid, so I am fetching the control and changing the background colour but it isn't working.

    Though it is working for rest form controls.

    Thanks,

    Dhruvil

  • Community Member Profile Picture
    on at

    I am using D365 F&O

  • Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Dhruvil,

    Checkboxes can be colored in AX2012 with displayOption method, but indeed displayOption method has different behavior in D365 F&O and they are not colored anymore. Looks like bug or depreciated feature.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 689

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 455 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 308 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans