Please can you kindly assist with the functionality in changing the colour of this circle icon when selecting the "Activity Complete" button.
I want the colour of the circle to change to green when the activity complete button is selected/clicked:
Solved! Go to Solution.
Hi @MJDynamics ,
I did a simple demo for you.
1\ Insert a button control into gallery and set its onselect property to:
Collect(Col,ThisItem)
2\ Insert a Circle control into gallery and set its Fill property to:
If(ThisItem in Col,Red,Blue)
The result is as follows:
Best Regards,
Wearsky
Hi @MJDynamics ,
I assume you are Patching to a field when you press the Activity Complete button. If this is the case, the Color of the icon needs to be
If(
ThisItem.TheFieldName=TheCompleteValue.
Green,
Red
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi WarrenBelz,
Thank you for your response.
There is no patching functionality onselect on the Activity Complete button, it would just simply be to be able to change the colour of the red icon colour to green to show the activity has been completed.
Hi @MJDynamics ,
I did a simple demo for you.
1\ Insert a button control into gallery and set its onselect property to:
Collect(Col,ThisItem)
2\ Insert a Circle control into gallery and set its Fill property to:
If(ThisItem in Col,Red,Blue)
The result is as follows:
Best Regards,
Wearsky
I wanted to ask. How about if you want to return back the color if the user presses the button a second time.
Thanks,
Sh