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 / Visible on ButtonPressed
Power Apps
Answered

Visible on ButtonPressed

(0) ShareShare
ReportReport
Posted on by 2,944

Hi PG

 

In Project Siena, any items (eg Shape, Box) can be triggered, example Visibility using Button.Pressed function.

Example: 

- A TextBox.Visible = Button1.Pressed

- So, when PRESSING Button1, TextBox will be visible "true", and false when button is released.

 

I wish this function can be extended in PowerApps.

(I have tried for months and hopefully this function will restore OR maybe I am wrong in the setting?)

 

Moreoever, I suspect this maybe due to missing function of PRESSED as shown in tutorial.

 

IT is possible in Project SienaIT is possible in Project SienaPressed ... not shown in PowerApps StudioPressed ... not shown in PowerApps Studio

 

Thanks in advance.

 

Note:  I am using this function to trigger TImer so that I can achieve dual function

- Button.OnSelect = ShortPress

- Button.Pressed (with timer, say, 1 sec ) = LongPress

 

This is make the apps function better, even withotu PowerApps providing LONG PRESS function.

 

TQ and have a nice day.

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Hpkeong,

     

    Thanks for feedback.

     

    I have checked the documentation about Button control, From the documentation we know that it does have a Pressed property. But on the app, it seems that there is no Pressed property can be used.

    4.PNG

     

    I am going to confirm the Pressed property of Button control on my side. I will back once I got any response.

     

    About the ShortPress and LongPress, I guess it should be a good addition for PowerApps, please consider to submit an idea at Flow Ideas Forum, hope PGs will take it into consideration in the future releases:
    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas


    Best regards,
    Mabel Mao

     

  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    As you mentioned, the Pressed property of the button in PowerApps is different than the one in Siena - and the documentation from PowerApps is misleading: it’s not set to true while the button is pressed, it’s more of a “pulse” property – when you press the button (or to be more specific, when you release the button), the Pressed value will be set to true, and immediately after it will be set to false (I'll talk to the documentation owner to have it updated).

     

    The main scenario for the Pressed property is in a Reset scenario. All controls that have a Reset property need the value bound to that property to change for the data flow to “tell” the control that its reset property changed. So if you want to reset one (or more) controls with a click of a button, you can set the properties of those controls to ‘Button1.Pressed’ and you’ll get the controls reset when the button is pressed.

     

    I'd suggest you create a new feature request in the PowerApps Ideas Board to have this functionality from Siena brought to PowerApps, if your solution with timers does not work for you.

  • hpkeong Profile Picture
    2,944 on at

    Hi @CarlosFigueira @v-yamao-msft

     

    Really appreciate of the detail explanation of Button-Pressed function.

     

    Main reason of comparison is because I can get I want in Siena but not in PowerApps, which supposed to extend all usefull functions, 100% from Siena.

     

    I have seen Touch Force in iPhone, which for myself, is a waste of user pocket money on force touch sensor on the screen to detect and trigger action based on differential in pressure.

    For me, a stupid and simple ideas by using Timer + Press-Hold can achieve almost similar function without having investing in expensive pressure sensor.

     

    I used to use Invisible Button / Visible Buttons to have different functions when OnSelect, such as:

    - Navigate to another screens (yes this is normally done)

    - Pop-Up another Gallery (on the same screen, using UpdateContext), to trigger Phone, SMS and Whtsapp

    - Add records

    - Edit Records,...(See below)

     

    So, I guess this simple and yet useful action can make PowerApps creation more compact (less screens) but more funciton within a screen (and I found faster response without navigation).

     

    I have post the ideas and wish that can be accomplished to make PowerApps more flexible in making a Functional Apps yet very userfriendly, attractive.


    Correct me if I am wrong totally.

     

    TQ

     

    Click on Circle, Pop Up another Gallery for Call, SMS, Whatsapp, based on the temp contextClick on Circle, Pop Up another Gallery for Call, SMS, Whatsapp, based on the temp contextEdit, Add and trigger to another screes, Click on Detail for editing biodata.Edit, Add and trigger to another screes, Click on Detail for editing biodata.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard