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 906

Summary: Accessing TMarksTipTool->Format->xxx properties fails on Android. Format property is null.
Product: FireMonkey TeeChart Reporter: Vsevolod V Gromov <gromov.vsevolod>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal CC: narcis
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Android   
Chart Series: Line Delphi / C++ Builder RAD IDE Version: RAD XE6
Attachments: Test project for TMarksTipTool bug in Android

Description Vsevolod V Gromov 2014-08-30 11:42:22 EDT
TeeChart version: 2014.11.140512
C++ Builder version: 20.0.16277.1276

I'm creating TMarksTipTool programmatically, as follows:
    m_mt = new TMarksTipTool(chart_);
    m_mt->ParentChart = chart_;
    // We got AV here under Android - Format property is null
    m_mt->Format->TextAlignment = TAlignment::taRightJustify;
    m_mt->Active = true;

On Android platform, accessing any property of m_mt->Format results in AV, because Format is null at that time.

Attached is a test project, reproducing this bug.
Comment 1 Vsevolod V Gromov 2014-08-30 11:43:21 EDT
Created attachment 280 [details]
Test project for TMarksTipTool bug in Android