Form1.closing in VB2005???

  • Thread starter Thread starter cj
  • Start date Start date
C

cj

In VB2003I have been using an exit menu item that issues me.close() then
Private Sub Form1_Closing took care of closing everything down. I don't
see a closing event for form1 in VB2005. What takes it's place?
 
It's called FormClosing now. (Irritating, isn't it?)

There's also an event called FormClosed that will trigger *after*
the form is closed.

Robin S.
 
Irritating, yes. I hope they had a good reason for it but ...

Yea, I knew "closed" existed but haven't had a use for it yet.
 
That's a good thing. But they didn't have to change the
name from Closing to FormClosing. (Although actually,
I guess they changed it from Unload to FormClosing). They
didn't change the Load event to FormLoading. Where's the
consistency? Oh, the drama of it all! ;-)

Robin S.
----------------
 
RobinS said:
That's a good thing. But they didn't have to change the
name from Closing to FormClosing. (Although actually,

Since the Closing event is still present (though deprecated), perhaps
they changed the name to avoid causing any further backwards
compatibility problems.
 
Ah, I see. Fair enough. Well, they could call it "George"
and I'd still use it. I'm just *that* flexible. ;-)

Robin S.
----------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top