cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Andreas111
Advocate I
Advocate I

Using Arrow keys to switch between elements in Gallery

Hey 🙂

 

i can control now the gallery with arrow keys because of TabIndex = 0.

Bild1.jpg

But here I have to press the arrow keys several times to get to the next element or page (as shown in the picture).
Is there a way to get to the next page of the gallery with just ONE click of the arrow keys?
I have read that it should work with the SNAP function, but I can't find it at Power apps.
Thanks a lot!

@WarrenBelz 

1 REPLY 1
WarrenBelz
Super User
Super User

Hi @Andreas111 ,

As well as the TabIndex, there are some things you can do with SetFocus. - reference is here

You can move to other editable controls on the screen, but I cannot think of a way of doing it with arrow keys (there is no OnLostFocus or OnExit type event in PowerApps)

Have a read, it may give you some ideas.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,257)