web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Select not working in ...
Power Apps
Answered

Select not working in OnVisible of initial screen

(0) ShareShare
ReportReport
Posted on by 155

I need to select a particular TextInput control when my app starts.  I have Select(MyTextInputControl) inside the OnVisible of my screen.  When I launch the app, focus is not set to the control.  However, if I have a button or some other control that calls Select() on the control, it works fine.

 

Any ideas?

Categories:
I have the same question (0)
  • Verified answer
    MaximusDecimus Profile Picture
    281 on at

    Hey @mhenderlight 

     

    Have you tried using SetFocus() ?
    Tried that out on my side by setting focus in the OnVisible for my screen and it selected my text input control.

  • mmollet Profile Picture
    3,187 on at

    SetFocus is def the function you want to use. This is really nice when using USB/Bluetooth scanners as well as you can force the input of your scanner to go where you actually want it to go.

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard