Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

SetFocus on first screen


I try to focus the first field on a screen with SetFocus but it don't work. This probleem only exists for me on the first screen when I open the app. In all other cases SetFocus is working very well.

I used the SetFocus function in the Onvisible trigger of the screen.




Marcel Vos


This is not working.

Thanks for your answer. The field is a field on the screen and not a field in a gallery.

I read the limits, but none are mine case. We use a handheld scanner with Android and using Chrome. I try an other scanner and I found the same issue. I think it's not possible to set the focus on a field when opening the app when you used a empty screen.

The customer knows and accept the limits.

Thanks for help.
Regular Visitor

Use a hidden timer on the screen with a duration of 1 and autostart set to true.  Put Setfocus in the OnTimerEnd property

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (81,572)