AV with ChartGrid if I close application
Posted: Mon Oct 16, 2006 12:50 pm
Hi,
I have built an application with a chart and a corresponding chart grid. The chart has 5 permanent chart series attached which are created in the IDE and some chart series which are created during runtime.
The chart and the chart grid are on separate pages of a page control.
If I have created some series during runtime I get an access violation on closing the application but only if the page with the chart grid is not active. If I close the application when the page with the chart grid is acitve I get no access violation. If I do not create additional series during runtime I get no access violation.
I also tried to delete all series created during runtime before closing but this didn't help to prevent the AV.
If I remove the chart grid I get no AV in any cases.
For the moment, I use the following workaround: I change to the page with the chart grid before closing the application! Then I get no AV!
How can I copy values from the chart grid to the clipboard? I know how to extract column and row numbers of a selection but I don't know how to access the values. Must I access them by the series x- and y-values list?
Thanks in advance for any help!
Rolf
I have built an application with a chart and a corresponding chart grid. The chart has 5 permanent chart series attached which are created in the IDE and some chart series which are created during runtime.
The chart and the chart grid are on separate pages of a page control.
If I have created some series during runtime I get an access violation on closing the application but only if the page with the chart grid is not active. If I close the application when the page with the chart grid is acitve I get no access violation. If I do not create additional series during runtime I get no access violation.
I also tried to delete all series created during runtime before closing but this didn't help to prevent the AV.
If I remove the chart grid I get no AV in any cases.
For the moment, I use the following workaround: I change to the page with the chart grid before closing the application! Then I get no AV!
How can I copy values from the chart grid to the clipboard? I know how to extract column and row numbers of a selection but I don't know how to access the values. Must I access them by the series x- and y-values list?
Thanks in advance for any help!
Rolf