Hi Niall,Is there a way to have just one OK button and the 'X' button to close the window? I tried with all combinations and i see that only when you have "OK" and "Cancel" OR "Yes", "No" and "Cancel" options(that is - xfa.host.messageBox("Hello World!",3,1); or xfa.host.messageBox("Hello World!",...