Click to See Complete Forum and Search --> : Close Button not Working
E. Heineken
March 1st, 2000, 09:50 AM
The close buttons (the "x" on the top right corner of the forms) are sometimes not responding. But I'm very sure that the forms are working fine, becoz I got command buttons that can close the forms. Is there any solution to this? Thanx.
Kyle Burns
March 1st, 2000, 09:51 AM
Is there any pattern to when they do not work?
E. Heineken
March 1st, 2000, 10:01 AM
I have multiple forms on my application. I suspect that it is because of the way I open up the forms? (coz I open and close them by setting the visible property) Actually is there any ways that I can set the function of those close buttons?
TH1
March 1st, 2000, 10:11 AM
Put a breakpoint in the QueryUnload event of the form and check to see if unloadmode =0 (This means that you have clicked the "x").
I can't think of any reason that this wouldn't work but maybe you should consider using form.show and form.hide.
E. Heineken
March 1st, 2000, 11:17 AM
I found out that when I hardcode the display of the contents on the textbox controls on the form, the "x" button doesn't respond. But when i leave the textbox displays alone, the button now works. That's odd.....
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.