Notifications
Announcements
Hello,
Following Shane Young's Barcode Reader tutorial: https://www.youtube.com/watch?v=lMqYjOpRbRg
How do I clear that gallery with the Items property of BarcodeReader1.Barcodes? I want to have a button that clears out or resets all the currently scanned barcode values to return to an empty and clean slate.
Hi @ngreen,
The Barcode control is currently not resettable. You would have to collect the Barcodes in the OnScan property, link the gallery to the collection and clear the collection when needed:
//BarcodeReader OnScan Collect(colBarcodes, Self.Barcodes) //Gallery Items property colBarcodes //Button OnSelect Clear(colBarcodes)
If this solves your question, would you be so kind as to accept it as a solution.
Thanks!
That's really silly that we can't currently reset it, but this solution has worked for me. Thank you so much!
This has not worked for me 😞
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268