web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Rectangle should have ...
Power Apps
Unanswered

Rectangle should have moment when we click on the microphone

(0) ShareShare
ReportReport
Posted on by 96

Rectangle should have moment when we click on the microphone and after that i have to see the check icon.

Sharing the image below.

Dishen_0-1625815257601.png

 

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Dishen In the OnSelect of the Microphone, set this (change the X and Y values as you like), UpdateContext({rectangleX:100}); UpdateContext({rectangleY:100})

    Set the X property of the Rectangle to, rectangleX

    Set the Y property of the Rectangle to, rectangleY

  • Rafia Mohammed Profile Picture
    96 on at

    Am not clear with the provided solution, Can you please elaborate it please

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Dishen You can move a component in PowerApps by setting its X and Y properties. To set these values you need to use variables. That's what my solution does.

    In the OnSelect property of the Microphone icon/button, set this formula (change the number 100 to any value as you like),

    UpdateContext({rectangleX:100}); UpdateContext({rectangleY:100})

    Set this formula in the X property of the Rectangle,

    rectangleX

    Set this formula in the Y property of the Rectangle,

    rectangleY
  • Rafia Mohammed Profile Picture
    96 on at

    Dishen_0-1625822100227.png

    I need something like above picture, I mean when microphone got clicked it the rectangle should move front and back and after that we will be able to see check icon

  • Rafia Mohammed Profile Picture
    96 on at

    Am still waiting for the reply

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Dishen You original picture and description does not match what you want now. Anyway, it's not about moving a rectangle but you want a progress bar. There is no built in component for that.

    You can either use one from the component gallery, https://powerusers.microsoft.com/t5/Canvas-Apps-Components-Samples/Circle-progress-indicator/m-p/335308

     

    Or, make your own, https://www.youtube.com/watch?v=t4ze8VnGuOk

     

    Please remember to give a 👍 and accept the solution as it will help others in the future.

  • Rafia Mohammed Profile Picture
    96 on at

    Its a kind of progress bar, but its not

    Because for example in some exams if we want to test the microphone there will be a rectangle, when we speak in a low voice the rectangle will not be full and if we speak loud, that will reach to end

    Dishen_0-1626066614014.png

     

     

    So to my requirement progress bar will not suit

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard