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 - Accessing TMarksTipTool->Format->xxx properties fails on Android. Format property is null.
Summary: Accessing TMarksTipTool->Format->xxx properties fails on Android. Format prop...
Status: CONFIRMED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All Android
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-30 11:42 EDT by Vsevolod V Gromov
Modified: 2014-09-02 03:53 EDT (History)
1 user (show)

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


Attachments
Test project for TMarksTipTool bug in Android (6.56 KB, application/octet-stream)
2014-08-30 11:43 EDT, Vsevolod V Gromov
Details

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