07-22-2019 13:43 PM - last edited 12-17-2021 14:31 PM
Dialog Control
Dialog controls are modal UI overlays that provide contextual app information. They block interactions with the app window until being explicitly dismissed. They often request some kind of action from the user.
Property | Description |
---|---|
OpenClose | |
Buttons |
Table({Label: "Cancel", Fill:"#FFFFFF", Color:"#0086D0"}, {Label: "Ok", Fill:"#0086D0", Color:"#FFFFFF"}) |
Title | Sets Title of the Dialog Box. |
Description | Sets the body text of the dialog box. |
Styles |
e.g: Table({Key: "Font", Value:"Segoe UI"}, {Key: "DialogTitleFontSize", Value:16}, {Key: "DialogDescriptionFontSize", Value:12}) |
OverlayColor | Sets a collection of styles that controls various visual aspects of the tab control |
I would have like to have seen an implementation example, where an App uses the dialog control, so I can see exactly how to configure it for use. There are other odd aspects to the component that lead me to believe that it was rushed, light-weight and incomplete example:
1. There is no explanation for what the Toggle2 control is used for.
2. The Styles table control is briefly mentioned in the write-up, but the control isn't used anywhere in the component, so what's the point?
Hi @Anonymous,
This would be a great application to use components as dialog controls are used many times in apps.
However, I do have one observation. Often, my dialog "yes/Ok/Safe/etc." button has an on select property to patch, navigate, collect or do other actions. I cannot seem to figure out how you could input different actions into this dialog component.
Maybe I'm missing something?