If I understand correctly, you want to disable the default selection of an item in the gallery and have all the items appear with the same color until the user selects one. One way to achieve this is to modify the gallery's Selected property.
By default, the Selected property of the gallery is set to the first item in the collection. To disable this behavior, you can set the Selected property to a variable that is initialized to -1 (or any other value that is not a valid index in your collection).
Here's an example of how you can achieve this:
- Add a variable to your screen's OnVisible property to initialize it to -1:
Set(varSelectedIndex, -1)
Modify the Selected property of your gallery to use this variable:
Selected: If(varSelectedIndex >= 0, YourCollection[varSelectedIndex], {YourDefaultValue})
If(ThisItem.RecordNumber = varSelectedIndex, RGBA(0, 250, 1, 0.5), RGBA(255, 255, 255, 0.1))
I hope this helps! Let me know if you have any questions.