Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How do I know when the Close button is pressed?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I know when the Close button is pressed?

 Post Reply Post Reply
Author
Message
EMoscosoCam View Drop Down
Newbie
Newbie


Joined: 15 August 2006
Location: Peru
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote EMoscosoCam Quote  Post ReplyReply Direct Link To This Post Topic: How do I know when the Close button is pressed?
    Posted: 05 December 2007 at 11:03pm
Hello
 
When using the TabWorkspace, how can I know when a child form is closed?
 
Thank a lot.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 December 2007 at 12:56am
Hello,
 
Use Document_Unload event.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2007 at 5:00pm

You could also dim your forms using WithEvents and then raise an event in your child form when it is closing.  This executes the associated event in the parent form allowing you to run any further code.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.062 seconds.