Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 392 - [TA05016415] OpenGl problems. If you make an application using two forms where u...
Summary: [TA05016415] OpenGl problems. If you make an application using two forms whe...
Status: RESOLVED NOTABUG
Alias: None
Product: ActiveX TeeChart
Classification: Unclassified
Component: Others (show other bugs)
Version: unspecified
Hardware: All All
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 13:46 EST by sandra pazos
Modified: 2016-04-26 08:02 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2013-11-20 11:43:35 EST
OpenGl problems.
If you make  an application using two forms where use opengl canvas and a timer to update data, the labels of axes were missing when you close the second form from first form. To reproduce the problem you need open/close the form more of twice. The problem only occurs in Activex and in vcl it works fine. 
I have attached 2 projects one write in VB6 and the other in VCL to reproduce the problem.
 [created:2012-11-15T13:46:58.000+01:00 reported by:sandra@steema.com reported in version:]
Comment 1 sandra pazos 2016-04-26 08:02:58 EDT
It isn’t a bug. To solve the problem is necessary repaint the labels, always, when you close the auxiliary forms that depend to the base form. Therefore, should be used the Environment.InternalRepaint method to prevent the issue. The lines code below shows how: 

Private Sub Command3_Click()
Unload Form2
TChart1.Environment.InternalRepaint
End Sub