Print Page | Close Window

How do I know when the Close button is pressed?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=9019
Printed Date: 27 April 2024 at 1:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do I know when the Close button is pressed?
Posted By: EMoscosoCam
Subject: How do I know when the Close button is pressed?
Date 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.



Replies:
Posted By: Oleg
Date Posted: 06 December 2007 at 12:56am
Hello,
 
Use Document_Unload event.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: LeeHayton
Date 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.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net