cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Thomaw
Helper II
Helper II

Button press simulation

Hello,


How to simulate the user pressing a button ?
For example simulate pressing AddMediaButton on the controller add an image?

 

thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@Thomaw 

You can use the Select function.  Note though that some controls will not allow them to be selected with that fuction.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

2 REPLIES 2
RandyHayes
Super User
Super User

@Thomaw 

You can use the Select function.  Note though that some controls will not allow them to be selected with that fuction.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Thomaw
Helper II
Helper II

Thank you

 

Actually does not work with  AddMediaButton on the controller add an image

 

Pity

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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