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 Apps
Unanswered

Delete Post

(0) ShareShare
ReportReport
Posted on by 34

solution found in another thread

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You may need to add something like this to your trash icon's OnSelect property:

     

    Select(Parent)

     

    ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @DomMB001 ,

    Do you want to jump a pop up with two buttons after you click "Trash" icon?

    If so, I've made a similar test for your reference:

    1)insert a button named Trash

    insert a Rectangle1 named window

    insert two buttons named "Cancel" and "Delete"

    put Rectangle in the position that you want the pop up window shows

    put  "Cancel" and "Delete" button inside the Rectangle

    2) set Trash's OnSelect:

    Set(var,true)

    set Rectangle1's Visible:

    If(var,true,false)

    set cancel button's Visible:

    If(var,true,false)

    set cancel button's OnSelect:

    Set(var,false)

    set delete button's OnSelect:

    Remove(collectMultiScan,ScannedBoxes.Selected);UpdateContext({varShowPopupDelete:false});Set(var,false)

    set delete button's Visible:

    If(var,true,false)

    set the screen's OnVisible:

    Set(var,false)

    //Then, at the beginning, the pop up window is invisible, after you click the trash button, the window shows. If you click the cancel button, the window disappear. If you click the delete button, firstly act the action that you want then the window will disappear.

    20201103.PNG

     

     

    Best regards,

  • DomMB001 Profile Picture
    34 on at

    Everything works apart from the deletion of the scanned barcode. 

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 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard