To create a popup delete message box in Power Apps, you can use a combination of a button control and a confirmation dialog box. Here's how you can do it.

Step 1. OnClick of the Delete button it will open Delete window screen.

onClick

Create

  1. Rectangle
  2. Label
  3. Cancel Button
  4. Ok Button

Step 2. Define a variable and set its visibility property to the value of 'VarShowDeletePopUp.

Create a variable and Visible = VarShowDeletePopUp.

Variable

Step 3. When the action is triggered, it sets the variable 'VarShowDeletePopUp' to false, indicating that the delete popup should not be shown.

OnSelect = Set(VarShowDeletePopUp,false)

Delete popup

Step 4. Set the visibility based on the value of the variable 'VarShowDeletePopUp'.

Visible = VarShowDeletePopUp

Visibility

Step 5. Upon selection of Cancel button, update the variable 'VarshowDeletePopUp' to false

OnSelect = Set(VarshowDeletePopUp,false)

Cancel button

Step 6. Set the visibility based on the value of the variable 'VarShowDeletePopUp'.

Visible = VarShowDeletePopUp

Set

Step 7. Upon selection of Cancel button, update the variable 'VarshowDeletePopUp' to false and delete the selected record in Accounts entity.

OnSelect = Set(VarshowDeletePopUp,false);Remove(Accounts,AccountGrid.Select)

Selected record

Below is output Screen.

Output Screen