Re: How to show select items from a SharePoint Lis - button color changes
Hi @ReeX,
Do you want to display the different color and text of label according to the SP list data?
If the Bbua1 = 1 display the green color and text '1' in label?
If the Bbus1 = 0, display the white color and text '0' in label?
If click the label display the opposite one?
I did some test according to your requirements.
1. Set the Item property of Form as:
LookUp(AnswersChecklistApp,IDUser = 1)
2. Set the OnSelect property of Button as:
Set(color,LookUp(AnswersChecklistApp,IDUser = 1).Bbua1 <> 0)

3. Set the OnSelect property of Label as:
Set(color,!color)
4. Set the Fill property of Label as:
If(color = true, Color.DarkGreen,color = false, Color.White)
5. Set the Default property of Label as:
If(color = true,"1",color = false,"0")
Best Regards,
Kyrie