cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Pen Input Reset

Hello,

I'm having trouble resetting a PenInput Control.

Scenario:

  • OnVisible of Screen
    • Set(varReset, true)
    • Set(varReset, false)
    • Set(varReset, true)
  • Reset Property of ALL Controls on the screen set to varReset

Issue:

  • All Controls EXCEPT the PenInput Control reset to blank when the screen loads.
  • PenInput Control still shows the signature

Question:

  • How do I get the PenInput Control to reset to blank?

Thank you!

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Pen Input Reset

Hi @ericonline,

Do you want to reset the Pen Input control when your screen loads?

The user @keshamer has faced same issue with you, the PowerApps Staff @mobaky has made a response to it, please check the response within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/onvisible-clear-peninput/m-p/209411#M66894

 

As an alternative/temporary solution, you could consider take a try with the following workaround:

Set the Reset property of the Pen Input control to following:'

true

Set the OnHidden property of the screen which contains the Pen Input control to following:

Reset(PenInput1)   /* <-- PenInput1 represents the Pen Input control within your app */

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper II
Helper II

Re: Pen Input Reset

Hello,

I have the exact same issiue - and this solution no loger works for some reason. Is there a new way of reseting PenInput when screen is shown or closed ?

 

*update, It works - sorry for the mixup.

 

*update v2 

It works less than half the time - what is the reason ? can it be corrected ?

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,566)