> ..is calling the Window1 global function.  I see that a lot of people
> here don't understand this, so let's try to be clear about it.  For
> every window in your project, a global function of the same name is
> created for you by the IDE.

Joe, 
I've wondered about another Window concept in RB for a long time. Perhaps
this is related to the above... or at least you can resolve my wrong
thinking with equal clarity ;-)

Say I have 'dim w as new Window2' in the action event of a push button in
window1. When I run the project and push the button, Window2 opens and then
hangs around after the completion of the method. I would expect that the
local variable w would go out of scope at the end of the method, and lacking
any other references, Window2 would close. Why not?

Keith


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to