Close [x] Button on Form not working 
Author Message
 Close [x] Button on Form not working

it is a documented bug, that we are all finding very annoying, pressure is
mounting for ms to fix this one in a service pack, care to add your vote!

Apparently it is caused by deleting/removing a User control from the
form/panel while it has focus, workarounds seem to be setting focus to a
known but invisible control before  the suspect form is repainted!

Colin


Quote:
> We have a program which has a Main MDI form and y number
> of children.  After a few of our routines have been
> processed, the [x] Close button on the main form no longer
> works.   Moreover, the close event doesn't fire anymore
> when we click the x, all that happens is the button
> presses up and down and that's it.

> I know this is vague, but since we don't have any code
> that addresses the close event or this button on the form,
> nor anything that disables it, we are absolutely stumped
> as to what could be causing this.  Furthermore, I've
> stepped through every line of code in the procedure and
> see nothing whatsoever that could be doing this.  We're
> thinking perhaps it's a bug in .net, but we haven't seen
> anything about it anywhere and don't like to blame
> Microsoft when we may(probably are) guilty.

> Any ideas?



Mon, 18 Apr 2005 06:32:12 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Form Close Button Does Not Close the Form

2. Form does not close from the UpperRight X Close button

3. Do not close form on clicking close button in Visual Basic

4. Closing a form with the ‘X’ Button does not destroy in stances of Private Variables

5. Closing a form with the ‘X’ Button does not destroy in stances of Private Variables

6. form.close() not working.

7. Prevent user from closing form using caption close button

8. problems using close [x] button when closing forms.

9. How to prevent user closing a mdi form using the close control button

10. window.close closes webbrowser but not the form itself

11. window.close closes Webbrowser but not the form itself

12. window.close closes Webbrowser but not the form itself

 

 
Powered by phpBB® Forum Software