This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Juan Zekkrosterlen 22.Aug.03 02:24 AM a Web browser Applications Development6.0.2 CF1Windows 2000; Windows XP; Windows 98
I am currently in the process of upgrading my applications to ND6, and have found a problem with dialog boxes and buttons.
On the form i use for my dialog box I have added 2 buttons. The first is set to type 'OK' and is set as default. The second is set to 'Cancel'.
When buttons of these types are used they will automatically close the dialog box no matter if there is code in the 'onClick' event or not. And the 'onClick' code will be triggered after the dialog has closed. As this is how the designer help says it will work i have no issues with this. As a result the validation i want to preform on the data entered into the dialog box cannot sit in the 'onClick' event, so i placed it in the 'onUnload' event of the form.
My problem arises when the validation is preformed in the 'OnUnload' event fails. To stop the dialog box closing i set the 'Continue' argument of the 'OnUnload' event to False. This stops the dialog from closing and I can provided any messages to the user so the know what to fix in the dialog.
THE PROBLEM
From this point on the 'OK' and 'Cancel' buttons a rendered useless. The 'Escape' key will not work. So unless i use the mouse to press the 'X' in the title bar of the dialog box there is no way to exit the dialog. Also there is no way to press the 'Ok' button.
Note: This is excatally the same for the 'QueryClose' event.
If anyone knows of a fix for this issue or Lotus is aware of and fixing the problem could you let me know.
--
Regards,
Anthony Lee
e anthonyl@bluepoint.net.au