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 / Controlling the TabInd...
Power Apps
Unanswered

Controlling the TabIndexes on a Power Apps Screen

(2) ShareShare
ReportReport
Posted on by 377

Hello All, 

 

Assuming I have a few buttons and text boxes on a Canvas app screen (and not on a form).  How do I ensure that I set the right order of tab index? Meaning, from top to bottom, I have set my tab indexes as 1, 2, 3 etc.

 

But once I reach the final control on the screen and if I tab out then, how do I set the focus back on the control with tab index of 1? Yes, if they click on that final control, which is  a button in all my screens, I can always set the focus. But in case the visually impaired user does not click on that button,  which event can I use or how do I ensure that the movement on the screen is circular when they keep hitting tab (i.e. the focus goes back to the top most control with tab index 1)?

 

Thanks

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    That's a really interesting question - in my tests the the tabbing runs off the PowerApp and starts selecting items from the browser - definitely not what you want in most cases I would imagine!

     

    However there doesn't appear to be an obvious way to do this. 

    There is no event fired that I can see when an item is tabbed to, and there is no accessible property for the Screen that shows  the current tab index. 

     

    Sorry I can't be of more help .. I'm interested to see if anyone knows  the answer to this....

  • rprahalad Profile Picture
    377 on at

    Thanks for trying it out, @Anonymous . Yeah, there is no event like LostFocus() or keyPress() that we can code in and set the focus back to control 1.  It just keeps going everywhere.

     

    Since our audience are visually impaired, it is kind of very awkward. 

  • rprahalad Profile Picture
    377 on at

     I had opened another ticket a few hours ago, covering the exact behavior you have noted here. Just in case I get a solution here, I would paste the link on the other ticket as well.

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Header-Component-Disappearing-when-Tab-is-clicked/m-p/967070#M307410 

  • Community Power Platform Member Profile Picture
    on at

    Yeah.

    FYI I tried setting the tab index to a variable to see if you could force PowerApps to jump to a specific control dynamically. This works, but doesn't actually solve the problem .. you still send up going off the screen at some point. 

  • rprahalad Profile Picture
    377 on at

    Yep:-). There is no way to make the tab indexes move in a circular way and NOT go off screen.  Even to set that variable, we need an on-focus event. If the user "selects" (hits Enter) the button which luckily is the final control of the tab order in all my forms, then yes. I can move the focus back to Control 1. But it is still best if we can control all the tab indexes by code. 

  • KMI-Keith Profile Picture
    115 on at

    You may be able to use SetFocus(<NextControl>) in the OnChange parameter of those troublesome controls.

  • S_Hussain Profile Picture
    17 on at

    Hi

    I am having the same issue I see there hasn't been any update for a while.

     

    Has anyone on here found a solution to remove the browser elements when tabbing?

     

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