Print Page | Close Window

TabControlPage Stops Form_Terminate Event Firing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6296
Printed Date: 17 November 2024 at 3:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabControlPage Stops Form_Terminate Event Firing
Posted By: GarethThom
Subject: TabControlPage Stops Form_Terminate Event Firing
Date Posted: 01 February 2007 at 11:25am
As soon as you put a TabControlPage control on an VB6 MDI Child form it does not fire the forms Terminate event until the application is closed down.
 
Can please I get an urgent fix to this asap?
 
Thanks



Replies:
Posted By: Jean
Date Posted: 09 February 2007 at 11:47am
I have the same problem if the TabControl is inside an ocx:
 
If you use CodeJock TabControl in an ocx, the UserControl_Terminate-Event is not fired!
Just follow this steps:
-download sample  https://forum.codejock.com/uploads/20070209_114516_TabInOcx.zip - uploads/20070209_114516_TabInOcx.zip
-compile the ocx (Projekt1.vbp --> CompileSample.ocx)
-compile the exe (MainProjekt.vbp --> MainProjekt.exe)
-run the exe 
 
There's no problem if you have the classical Windows style under Windows XP or if you run Windows 2000. You will see a message box if you close the application.
But under Windows XP with XP style you won't see the message box because there's no UserControl_Terminate event!
 
CodeJock Xtreme SuitePro ActiveX 10.4.2
VB6 SP6


Posted By: GarethThom
Date Posted: 09 February 2007 at 12:12pm

Codejock provided me with a fix via a support issue I submitted so it will probably be in the next official release (10.4.3) or you could submit your own request and get it now.

 
G.



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