Barcode scanner control only has these two properties:
OnScan – Actions to perform when a barcode is successfully scanned.
OnCancel – Actions to perform when a barcode scan is canceled by the user.
We want to capture a third scenario when the scanner control is clicked ( before the OnScan is triggered). Usually the button control in PowerApps has OnSelect function which is missing from this control. Do you have any idea on how can we achieve that.