Recent

Author Topic: Access violation when erasing Styles property of TChartSeries  (Read 2668 times)

wp

  • Hero Member
  • *****
  • Posts: 6309
I think TChartSeries is lacking some nil test or notification for deletion of the Styles property:

- Add a BarSeries to the chart.
- Add a ChartStyles component and assign it to the BarSeries' Styles property
- In the Object Inspector, set Styles to "none" --> access violation
- Deletion of ChartStyles from the Form, however, is fine.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: Access violation when erasing Styles property of TChartSeries
« Reply #1 on: June 24, 2012, 11:07:39 pm »
Indeed. Fixed in r37770.

wp

  • Hero Member
  • *****
  • Posts: 6309
Re: Access violation when erasing Styles property of TChartSeries
« Reply #2 on: June 24, 2012, 11:46:47 pm »
Thank you
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10