Closing Help windows when main application closes

Al_Murphy

New member
Joined
Jun 9, 2004
Messages
1
Programming Experience
Beginner
Folks,

We have a problem. We have written an application that has help files - but if we close down the main application windows any help windows that may be open remain this way.
This can be done but approaches are not practical, as we have to keep a handle on the child window from the parent window across multiple pages. One method of doing this is to use a frame, but this will cause other problems with the web app.

Can anyone offer any alternatives? Any commetns/ideas/suggestions/nice code snippets would be much appreciated.

Thanks,
Al.
 
after briefly thinking aobut it, this might work, im not really sure what exactly is going on though.
use an if statement. and dim i as a variable

public i as integer

If (yourMain window).close Then i = 1
End if

If i =1 Then (yourhelpwindow).close

or something along those lines.
 
Back
Top