XE7: TChart on FMX TabControl hangs using "slide" animation
Posted: Mon Oct 20, 2014 6:44 pm
If a TeeChart component that is on a hidden page of a tab control becomes active but using the TabControl's "SetActiveTabWithTransition" with "TTabTransition.Slide".
Using the attached demo, make sure "TabItem1" is the selected tab at design-time; Run the app; click "Button2" to active "TabItem2" with the "Slide" animation; The App will hang.
If the "Chart1" is made visible by either setting "TabItem2" as selected at design-time, or by clicking "TabItem2" directly at run-time, then the "slide" transition will work (won't hang the app) from then on.
I have an Mobile (iOS) app that was developed on XE3 that has multiple TeeChart components on pages of TabControls that use the slide transition to move between the tabs/pages. I converted/upgraded this project to XE4, XE5, and then to XE6 with no problems.
In hindsight, I've always noticed a curious pause (1 to 2 secs) the *first* time a page with a TeeChart component is "slide" animated in - it's been there since the first version using XE3.
Using the attached demo, make sure "TabItem1" is the selected tab at design-time; Run the app; click "Button2" to active "TabItem2" with the "Slide" animation; The App will hang.
If the "Chart1" is made visible by either setting "TabItem2" as selected at design-time, or by clicking "TabItem2" directly at run-time, then the "slide" transition will work (won't hang the app) from then on.
I have an Mobile (iOS) app that was developed on XE3 that has multiple TeeChart components on pages of TabControls that use the slide transition to move between the tabs/pages. I converted/upgraded this project to XE4, XE5, and then to XE6 with no problems.
In hindsight, I've always noticed a curious pause (1 to 2 secs) the *first* time a page with a TeeChart component is "slide" animated in - it's been there since the first version using XE3.