The cmpDialogOKCancel component can be used in Powerapps canvas apps and gives the possibility to display a modal dialog including: title, message, "cancel" button and "ok" button.
Through the actions: OnSelectCancel and OnSelectOK present in the component it will be possible to execute actions based on the button selected by the user, directly on the calling screen.
How can i make your component invisible from the start and then when i push a button in the property 'OnSelect' make it visible?
I have tried putting the property Visible to false from the start, but then i can't modify it.
Regards.
Hi Carlos,
You have to use a false/true variable when you want to pop up dialog, then in the On_Select event of the ok / cancel buttons, set the variable back to false to hide the dialog.
I attach the last version there was a problem with the colors buttons.
hey @PowerJester why does the component load the office connector when importing?
Hi, @Dimipowerpl
I don't know, the component has no reference to the office connector.
You can remove the office connector if not necessary.