var canClose = false;
onhide() { return canClose;}
onActionButtonInDialog() {
canClose = true;
window.close();
}
function onHideWindow(event) {
//The if statement checks if the onHide is called by the above method in which case it simply closes the FID.
//Otherwise it gives the users a warning message and cancels the closing of the FID. Fine in smart, not in web.
if(event.getElementName() == null && globals.g_trigger == 'btn_copyLoc') {
globals.g_trigger = null;
return true;
}
else {
}
plugins.scheduler.addJob("dialog_close_msg", new Date(Date.now()), globals.DIALOGS.showWarningDialog, 0, 0, null, ['Copy and Close!','Close this form by clicking the button ','OK']);
return false;
}
ROCLASI wrote:Anyone who likes to have control over the visibility of this X control in dialogs I suggest you add your vote to the following feature request:
https://support.servoy.com/browse/SVY-1292
You find the Vote option under the 'More Actions' button.
ROCLASI wrote:Sorry Juan Carlos,
But the voting should be done ON the ticket. See the link I provided.
jasantana wrote:I have also seen, that is since 6.0.3, that it is impossible to change the tabSequence of the inherited tabPanels, you cannot move them out of the sequence nor change it. Also the tabPanels added to the subclassed form, not the inherited, have a similar behaviour, you can only put them at the bottom of the sequence.
Users browsing this forum: Bing [Bot] and 27 guests