Add the ability to control if a control is "Focus"ed on. For example, in my screen OnVisible property I might set TextBox1's Focus property to true so that when my screen becomes visible the cursor appears in the first text box on my screen.
This functionality is now available for canvas apps.
This is desperately needed by us! We are using Honeywell CT50 handhelds which have a built in 2d Barcode scanner, and we would like it so that the end user does not have to tap the screen to set the focus to the relevant field.
We are also building a bar-code scanner app and would really appreciate this functionality.
So it still doesn't exist?
From the conversations I have had today on the board it seems not.
<<Link to article>>
There has been a request that I found previously on the Product Ideas board as well:-
Agreed. I think this should be added as a signal or implemented as a Rule.
The more you can determine what is focused, the more you can shape the user experience.
This is someing we really need to create effective barcode scanning mobile apps.
An on-input / on-keyup would also be useful to do something with the input once it is scanned in rather than having to click a button.
@Audrie-MSFT, how can we get this request looked at by the dev team?
@Audrie-MSFT, I think that this functionality would be an absolute boon to the applications, and there are a number of possibilities which, if it was available, would open up to the PowerApps community, especially in the area of handheld devices and scanners.
Could you please take a moment to cast your eye over this and see if this is something which would be worthy of passing up to the dev team?
I myself have written a complete app for auditing and scanning, but in our trials the need to continually press in the textsearchbox for the scanner to be able to insert the barcode increased the time taken to perform the work by a factor of 2, as opposed to manually handling the process.
YES! - Needed for our handheld scanners to auto select the first field on the form (after submitting).
I'm trying to work with a cardreader app that uses a keyboard 'wedge' to insert card details into the keyboard buffer. Need to reliably put the focus in a [hidden] text input control my PowerApps app page to receive the card details. Tried playing with tab indexes but can't get it to work - we need SetFocus!!!
Updating to review, flagging @GregLi to take a look.
In the meantime, for the many users commenting about needing this for barcode scanning scenarios, note that the new ScanBarcode() funciton is now available as an experimental feature and may address several of these use cases. Enable the feature in the Advanced Settings tab; Scan Barcode() will trigger on any event (such as button OnSelect) and automatically pop the device's native scanner on iOS or Android.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.