Showing results for 
Search instead for 
Did you mean: 
Memorable Member
Memorable Member


Hi everyone...


Do you have any idea how can I capture a Cancel event from BarCodeScanner ? Actually I want to know without using a button or any other control if the user scanned a QR code or not(means he pressed the cancel button from QRCodeScanner screen), after the camera is closed .


Thanks !

Community Support
Community Support

Hi @gabibalaban ,


Did you mean that you want to capture the barcode even after  the user click on Cancel in camera? If so, please set formula you need in the OnScan property of the barcode control. This property define how an app responds when a barcode is successfully scanned.




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I think my request was a bit confusing ... I want to know when the user exits the camera mode by pressing Cancel (without scanning a bar code)

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (5,914)