Forum Discussion

karam1's avatar
karam1
Microsoft Employee
6 years ago
Solved

Button colour

How do you turn a button into a different colour when its pressed?
parry2k

  • Hi, karam1 

     

    You may go to ‘Home’ ribbon, click ‘Button’, select a button type.

    Then you can make the button selected, go to ‘Visualizations’, select ‘Fill’, configure ‘Fill color’ for ‘Default state’ as white and ‘Fill color’ for ‘On press’ as blue.

     

    Finally, the color turns from white to blue when you click the button.

     

    Best Regards,

    Allan

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

6 Replies

  • karam1 not sure you mean when you press the button and its' color changed. you can set on press property to change the color

     

     

     

    • Tahreem24's avatar
      Tahreem24
      Super User

      karam1  According to parry2k you can change the button's color /font on "On Press" status.

       

       

      Don't forget to hit THUMBS UP and mark it as a solution if it helps you!

  • v-alq-msft's avatar
    v-alq-msft
    Community Support

    Hi, karam1 

     

    You may go to ‘Home’ ribbon, click ‘Button’, select a button type.

    Then you can make the button selected, go to ‘Visualizations’, select ‘Fill’, configure ‘Fill color’ for ‘Default state’ as white and ‘Fill color’ for ‘On press’ as blue.

     

    Finally, the color turns from white to blue when you click the button.

     

    Best Regards,

    Allan

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • JessSvetlik's avatar
    JessSvetlik
    Frequent Visitor

    When I turn on fill for a button upon press, how do I get the fill color to stay?  By pressing the button, it changes visuals, and I want to be able to know the button was pressed by having the fill color present.  

  • mwegener's avatar
    mwegener
    Most Valuable Professional

    Hi karam1 ,

     

    has your question been answered?

     

    Regards,

    Marcus

    Dortmund - Germany
    If I answered your question, please mark my post as solution, this will also help others.
    Please give Kudos for support.