in this post, let us see how to create a Pop-Up in Canvas App
required controls:
select the controls added above (five controls) and go to their visible
property, add - locOpenPopup
- rectangular icon
- label
- buttons - 2
- take a "rectangular icon" and make it screen size
- update it's "Fill" - with RGBA(175, 191, 224, 0.5).
- Take another "rectangular icon" and adjust it to center
- Take "label" - and add required text (Eg: "do you want to proceed?")
- Take two buttons. Update text of Button1 to "OK" and other to "Cancel"
On Click of the respective control (to open the pop-up), add this expression : UpdateContext({locOpenPopup:true})
select "cancel" and "ok" button and add UpdateContext({locOpenPopup:false}) on "OnSelect" property.add appropriate actions on "cancel" and "ok" buttons as per the requirement along with UpdateContext({locOpenPopup:false})
Comments
Post a Comment