How do I know when the Close button is pressed? |
Post Reply |
Author | |
EMoscosoCam
Newbie Joined: 15 August 2006 Location: Peru Status: Offline Points: 10 |
Post Options
Thanks(0)
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.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Use Document_Unload event.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
LeeHayton
Senior Member Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |