Announcements
Hi Experts,
I am moving towards the end by learning a lot from you. Thank you again, Thank you MS for taking this community initiative. As you can see from below image there is an item always selected when I open the app. But I want not to have a selected item when the app is loading. Is it possible?
Osmand
Hi @OsmandFernando
You are going to want the gallery and form to use a variable, which won't be set upon App Start, therefore nothing will be selected.
So set the gallery's OnSelect property to something like:
Set(varGallery, Gallery.Selected)
and the Items property on your Form to:
varGallery
Let me know if that works.
---Please hit the "Accept as Solution" button if my post answered your question! If my post was helpful please consider giving it a "Thumbs Up."
@SeanHenderson thank you for your reply. But I do not have a form the buttons under each item in the gallery are groups (set of buttons). At the moment I have the following type of formula for each group,
If(Gallery7.Selected.Value="Master Data",true,false)
Hi @OsmandFernando ,
The reason why you met this problem is that the gallery.selected is set to the first item by default. So even you haven't selected item, the gallery.selected means the first item.
You could set the gallery's Default property to change the gallery's default selected item.
When this property is blank, then the gallery's default selected item is the first item.
Please set the gallery's Default to : {}
Then the the gallery's default selected item will be blank.
Best regards,
@v-yutliu-msft very simple and effective. Thank you so much, also thank you @SeanHenderson
I am done with m 1st ever app....yeyyyyyyy.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 339 Super User 2026 Season 2
M Bilal Khan 289
Mohsin Ali 228