Hi,
I have a gallery of texts and a button, each time i add an element to the gallery, i have a new text added to the gallery with a new button, the thing is I want to change the color of the text when i click on the specified button, but when i do, all the texts change color, so how can i link the button to its related text ?
Thank you, i hope i have been clear
Solved! Go to Solution.
I think in that case you will have to get creative. Keep the CheckBox hidden on the Gallery control i.e. Visible=False.
In the OnSelect of the button, toggle the value of CheckBox control. Rest of the functionality should be as I explained in my previous response i.e. set the Color property on based on CheckBox.value. That should work as per your requirement.
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.