cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LxNeomi
Helper III
Helper III

Reset Image Control

Hi!

 

Can you reset an Image Control using a button or icon?

9 REPLIES 9
phipps0218
Super User
Super User

Yes, you can reset the add image control.

 

Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful because this can help others.

LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
Twitter: https://twitter.com/phipps0218

LxNeomi
Helper III
Helper III

How do i reset the image control @phipps0218?

 

I placed a variable in the image control image. 

I tried this Reset(Image2_4), and Reset(Image2_4.Image) in Button OnSelect. 

I'm getting "function expects resettable control as input"

phipps0218
Super User
Super User

Reset(ImageControlName)=true

There's no reset property on image control.

I placed it on a button. 

I'm still getting "function expects resettable control as input"

Try:

 

ImageControlName.Image = Blank()

LxNeomi
Helper III
Helper III

Nothing happened. There's also no error. I also tried using my variable assigned to the image.

phipps0218
Super User
Super User

This works for me everytime. Are you sure the control is Add Picture control?

phipps0218
Super User
Super User

phipps0218_0-1660301758274.png

 

LxNeomi
Helper III
Helper III

Hi @phipps0218,

 

No, I'm using the Image control, not the Add Picture Control

LxNeomi_1-1660528779984.png

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,449)