User (Legacy) Posted November 16, 2006 Report Share Posted November 16, 2006 Let me describe the crashing issue: There seems to be a thread that the chart kicks off when a chart is created. This thread crashes at random times after the chart is destroyed if the chart was embedded in a Tab within a TabView. This only happens if that Tab was never formally activated. If the TabView comes up with the Tab containing the chart as the active Tab, all is well. Or, as long as that Tab is clicked on and made active before being destroyed...all is well. Also, the thread seems to live on even after the Chart is destroyed, but I guess this might be normal. Therefore, the workaround is that I must let the Tab View come up with the chart tab in front, then switch to the front tab of choice (not the chart tab) just as the TabView is coming up. Note that I cannot just switch through the active tabs and set each one active during initialization. The Chart Tab must be active and allowed to completely initialize and display itself as the front tab before switching away from it. It seems like there is some sort of initialization issue that occurs when the Chart is embedded in a Tab. Is this a known problem and is there another way to get rid of the crash? My workaround causes a bit of a flash as the TabView is being created and displayed for the first time, as I switch the active tabs. Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 16, 2006 Author Report Share Posted November 16, 2006 Let me describe the crashing issue: There seems to be a thread that the chart kicks off when a chart is created. This thread crashes at random times after the chart is destroyed if the chart was embedded in a Tab within a TabView. This only happens if that Tab was never formally activated. If the TabView comes up with the Tab containing the chart as the active Tab, all is well. Or, as long as that Tab is clicked on and made active before being destroyed...all is well. Also, the thread seems to live on even after the Chart is destroyed, but I guess this might be normal. Therefore, the workaround is that I must let the Tab View come up with the chart tab in front, then switch to the front tab of choice (not the chart tab) just as the TabView is coming up. Note that I cannot just switch through the active tabs and set each one active during initialization. The Chart Tab must be active and allowed to completely initialize and display itself as the front tab before switching away from it. It seems like there is some sort of initialization issue that occurs when the Chart is embedded in a Tab. Is this a known problem and is there another way to get rid of the crash? My workaround causes a bit of a flash as the TabView is being created and displayed for the first time, as I switch the active tabs. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.