cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sudosaurus
Post Prodigy
Post Prodigy

If Yes make text bold on yes/no control

I have a requirement to make Text display as Bold on a Yes/No control.

 

Is this possible?

 

I am already using this code to display the text in Red if toggle is set to "Yes":

 

 

If(DataCardValue6.Value, Red, Black)

 

1 ACCEPTED SOLUTION

Accepted Solutions
AJ_Z
Super User
Super User

If you are changing it based on the toggle you would go to the FontWeight Property and do

If(DataCardValue6.Value,FontWeight.Bold,FontWeight.Normal)

 

If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !

View solution in original post

3 REPLIES 3
AJ_Z
Super User
Super User

If you are changing it based on the toggle you would go to the FontWeight Property and do

If(DataCardValue6.Value,FontWeight.Bold,FontWeight.Normal)

 

If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !

sudosaurus
Post Prodigy
Post Prodigy

Thanks @AJ_Z that did it! 😄

@sudosaurus I am glad I was able to help 🙂

If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,250)