Form Close Button Does Not Close the Form 
Author Message
 Form Close Button Does Not Close the Form

I am using VB4.0.  At run time (in the development environment) when I
click on the close button of a form the button gets depressed and
nothing happens - the form doesn't close.  I don't have any code for the
Query Unload or Unload events.  

I believe, but I am not sure whether it is true always, that there is no
problem if I run the executable.

Can anyone help?

Thanks.



Sun, 10 Oct 1999 03:00:00 GMT  
 Form Close Button Does Not Close the Form

Well if you put some code in the buttons click event that
might help...

Unload yourformname
Set yourformname = nothing

--
 .--------------------------------------.------------------------.

`--------------------------------------'------------------------'



Quote:
> I am using VB4.0.  At run time (in the development environment) when I
> click on the close button of a form the button gets depressed and
> nothing happens - the form doesn't close.  I don't have any code for the
> Query Unload or Unload events.  

> I believe, but I am not sure whether it is true always, that there is no
> problem if I run the executable.

> Can anyone help?

> Thanks.



Sun, 10 Oct 1999 03:00:00 GMT  
 Form Close Button Does Not Close the Form

This person meant the "X" in the upper right hand corner of the form.
--
Ryan Faricy
CEO; RySoft Development ?
President; DAKSoft, Incorporated ?

http://members.aol.com/ryanfaricy/index/html
--
"The guy who hates ActiveX"
--
"Pro is to Con as Progress is to Congress"



Quote:
> Well if you put some code in the buttons click event that
> might help...

> Unload yourformname
> Set yourformname = nothing

> --
>  .--------------------------------------.------------------------.

> `--------------------------------------'------------------------'



> > I am using VB4.0.  At run time (in the development environment) when I
> > click on the close button of a form the button gets depressed and
> > nothing happens - the form doesn't close.  I don't have any code for
the
> > Query Unload or Unload events.  

> > I believe, but I am not sure whether it is true always, that there is
no
> > problem if I run the executable.

> > Can anyone help?

> > Thanks.



Mon, 11 Oct 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

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

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

3. Prevent user from closing form using caption close button

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

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

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

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

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

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

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

11. Forms, primary thread closing when closing startup form

12. Close [x] Button on Form not working

 

 
Powered by phpBB® Forum Software