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 1169

Summary: errors with samples
Product: VCL TeeChart Reporter: Shinobu Nagai <nagai>
Component: DemosAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: david, sandra
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: v201514_Error.png
v201308_Features_OrgHtmlFormat.png
v201514_Features_OrgHtmlFormat.png

Description Shinobu Nagai 2015-03-13 00:17:59 EDT
Created attachment 415 [details]
v201514_Error.png

1.
If building Tee9new.dpr in Delphi XE2 and later versions and running it, an error that says "invalid pointer operation" occurs.

To reproduce it, please follow the steps below:

(1)
Selects All features --> Chart styles --> Standard --> Line(Strip)
--> ImagePatterns and moves to another item, the error occurs.

(2)
Selects All features --> Chart styles --> Standard --> Bar
--> Brush Image and moves to another item, the error occurs. Please see the 
v201514_Error.png.

2.
Selects What's New ? --> Welcome!  --> New in Series --> Org Series with HTML Format.

With v2013.08, names used to be displayed under the faces, but not with v2015.14 (see v201308_Features_OrgHtmlFormat.png and 
v201514_Features_OrgHtmlFormat.png).

We uses the same Org_HtmlFormat.pas, so do you have any clues?

Thank you in advance for your help.

Kindest Regards,

Shinobu Nagai
Newtone Corporation
Comment 1 Shinobu Nagai 2015-03-13 00:19:22 EDT
Created attachment 416 [details]
v201308_Features_OrgHtmlFormat.png
Comment 2 Shinobu Nagai 2015-03-13 00:20:03 EDT
Created attachment 417 [details]
v201514_Features_OrgHtmlFormat.png
Comment 3 david berneda 2015-05-13 10:40:20 EDT
1) and 2) resolved. 
From XE2 and up, the optional VCL TBrush.Bitmap should not be manually destroyed, as it was necessary in previous IDE versions.

3) One of the problems is the nodes are created with Transparency=100, and so the text is not visible. Investigating.
Comment 4 david berneda 2015-05-13 10:48:33 EDT
3) Fixed. The demo is setting Font.Color := clBtnFace, this is not allowed with TGDIPlusCanvas because in GDI+, "clBtnFace" is a full transparent color.

So, the demo must be changed to:

Font.Color := ColorToRGB(clBtnFace)

or, for example:

Font.Color := clWhite