Print Page | Close Window

Bug in TabPageControl - Please help

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=6083
Printed Date: 17 November 2024 at 3:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug in TabPageControl - Please help
Posted By: mlatona
Subject: Bug in TabPageControl - Please help
Date Posted: 11 January 2007 at 8:43am
uploads/20070111_084217_Project1.zip - Hi,
 
uploads/20070111_084217_Project1.zip - I have problems with the TabPageControl. I have add a sample project. Please start the project and click on the button 'AddControl (UserControl1)'. A usercontrol will be created and this control includes your TabControl. Pleas click on the button 'RemoveControl (UserControl1) no terminate'. The usercontrol is removed from the form. But the terminate event was not fired.
uploads/20070111_084217_Project1.zip - When you click on the button 'Add Control (UserControl2)' and click on the button 'Remove Control (UserControl2)' the event was fired. You can see it with the MessageBox. The reason is, the UserControl2 have no TabPageControl inside.
 
uploads/20070111_084217_Project1.zip - My application crash when I close it, because the UserControls don`t terminate.



Replies:
Posted By: Jean
Date Posted: 24 January 2007 at 3:20am
I have the same problem if the TabControl is inside an ocx:
 
If you use CodeJock TabControl in an ocx you will have crashes in the VB6 IDE without writing a single line of code!
Just follow this steps:
-download sample https://forum.codejock.com/uploads/20070124_031335_TabControlOcx.zip - uploads/20070124_031335_TabControlOcx.zip
-compile the ocx (Projekt1.vbp --> CompileSample.ocx)
-start the project (MainProjekt.vbp) inside the IDE
-change the selected tabpage to TabControlPage2
-stop debugging by closing the application
-close the VB6 IDE --> Error:
 
If you do not change the selected tabpage, you will have no crash.

In our project we use lots of ocx with TabControls inside. With this bugs it's not very comfortable to
work with the control. We can not compile groups of ocx since we integrated the TabControl.
I hope there will be a solution soon!
 
CodeJock Xtreme SuitePro ActiveX 10.4.0
Windows 2k SP4
VB6 SP6


Posted By: Oleg
Date Posted: 24 January 2007 at 5:41am

Hi,

Please write to support, I will also send you fixed ocx.


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


Posted By: Jean
Date Posted: 24 January 2007 at 8:40am
Is this fixed ocx part of 10.4.1?



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