{ "windows": [ { "name": "StaticTextExample", "title": "StaticText Example", "left": 500, "top": 100, "width": 400, "height": 300, "controls": [ { "name": "infoStaticText", "type": "statictext", "bindsTo": "text" }, { "name": "OKButton", "type": "button", "text": "Yes", "isDialogButton": true, "dialogResult": "OK" }, { "name": "CancelButton", "type": "button", "text": "No", "isDialogButton": true, "dialogResult": "Cancel" } ] } ] }
var info = { text: "Are you sure?" };
var exampleWindow = redui.createNewWindow("StaticTextExample"); exampleWindow.bind(info); exampleWindow.show();