How to build a Message Box

by darogael on ‎04-14-2017 11:57 AM

Ever had the need to add a message box in your PowerApp but didn't know how? Well, here's how you do it!

You can use Text, Icon or image as an option to click on to show the message box.

In this example I have grouped both a Circle and Add icon to create the following

 

Pic1.png

 

Next, add a text box

 

Pic2.png

 

In the text box add 'X' i.e. cancel icon. Now go ahead and group the text and cancel icontogether.

 

Pic3.png

 

 

Select the button and update the 'OnSelect' function to 'UpdateContext({pop1:true})

 

Pic4.png

 

Select the 'X' or cancel button and update the 'OnSelect' function to 'UpdateContent({pop1:false})

 

Pic5.png

 

Finally, select the text box group and update the 'Visible' function to 'pop1'. Once you type in pop1 the text group will disappear.

 

Pic6.png

 

Here's a short video that walks you through the steps and ends with a demo.

 

Comments
by Community Manager
on ‎05-01-2017 10:31 AM

Well done! Thank you for posting this!

About the Author