On my form I have a button which opens a calendar, when the user clicks on a date it puts the date into a text box and close.
If the user clciks on the button by accident,I want the user to be able to click anywhere on the form instead and the form will close. I tried OnLostFocus, but it puts...