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 - errors with samples
Summary: errors with samples
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Demos (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 00:17 EDT by Shinobu Nagai
Modified: 2015-05-13 10:48 EDT (History)
2 users (show)

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


Attachments
v201514_Error.png (11.77 KB, image/png)
2015-03-13 00:17 EDT, Shinobu Nagai
Details
v201308_Features_OrgHtmlFormat.png (398.89 KB, image/png)
2015-03-13 00:19 EDT, Shinobu Nagai
Details
v201514_Features_OrgHtmlFormat.png (379.05 KB, image/png)
2015-03-13 00:20 EDT, Shinobu Nagai
Details

Note You need to log in before you can comment on or make changes to this bug.
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