Hi,
I am looking to create multiple floating windows(JSWindow) from main application in NG Desktop client, which are active at same time i.e not modal window or dialog.
Any assistance in achieving above will be highly appreciated.
Thanks
omar wrote:Sorry, I previously answered your question with the NG Client in mind, have not played with the new NG Desktop client yet.
forms.formName.openNonModal()
/**
* Open the form as a non-modal dialog and load the data that was passed in
*
* @public
* @param {JSFoundSet} [fs]
*
* @properties={typeid:24,uuid:"43723D28-6545-4475-BAE3-FF7A6781D6E2"}
*/
function openNonModal(fs) {
// foundset to work on
if (fs) {
loadFoundSet(fs)
}
// Open as a non-modal form
var win = application.getWindow(controller.getName())
if (!win) {
win = application.createWindow(controller.getName(), JSWindow.DIALOG)
}
win.resizable = true
win.undecorated = false
win.show(this)
}
Users browsing this forum: No registered users and 4 guests