Notifications
Announcements
Hi
A slightly odd question but can you set the button to have a time delay? say 3 seconds after the click it carries out the function?
You can do this, with timer controls.
in the OnSelect of your button, you’d need to set a variable:
set(gvTimer, false);set(gvTimer, true)
add gvTimer to the Start property of a timer control. set the duration of the timer to be 3000 - which is 3 seconds.
you can then add some code to the OnTimerEnd property for it to run once the timer has been triggered and run
Add a timer to the app, make it invisible, and set it to run for 3 seconds. Set the onSelect of the Button to start the timer. Set the OnTimerEnd of the timer to do what you want the button to do after 3 seconds.
Thanks!
Is there a way to add this to my current syntax in my onselct property of the button?
Clear(Data);ForAll(Gallery1.AllItems,Collect(Data,{Name: 'Company name',Miles: Long.Text,PCode:End.Text,EM:Subtitle1.Text}))
Basically i want the button to carry out the collection 4 seconds after clicking it? I'm not great with powerapps so any help would be great
Yeah you can add that code to the OnTimerEnd property of a timer control. See the responses above for how to go about it
------------------------------------------------------------------------------------------------------------------------------If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.If my response was a good one, please give it a Thumbs Up!Visit my blog: https://platformsofpower.net
Thank you, i managed to do step 1,2 and 3. Would you mind telling me how i'd add the varStartTimer to my syntax? i'm new to powerApps and struggle with expressions
Clear(Data);ForAll(Gallery1_1.AllItems,Collect(Data,{Name: 'Company name',Miles: Long.Text,PCode:End.Text,EM:Subtitle1.Text}))
You would set your VarStartTimer in the OnSelect of your button. You’d then need to add varStartTimer to the ‘Start’ property of your timer control.
this will enable the button to talk to the timer, to provide the delay that you’re after.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 793 Most Valuable Professional
Michael E. Gernaey 333 Super User 2025 Season 2
Power Platform 1919 268