"TTMSFNCWaitingIndicatorAppearance" Control Freezing Up

I'm using the component "TTMSFNCWaitingIndicatorAppearance" to try and show the animation while the data is loading. I put it on a separate tab, showing the tab and activating the animation when I need it, but the control seems to be freezing up, not showing the animation effect.

If I enable the animation directly just to test it in runtime, it's working just fine. The control behavior is typically that of a control such as the traditional progress bar trying to update, without calling "Application.ProcessMessages". You don't see the animation of the progress bar taking place.

Is there something I'm missing on how to enable the animation to be seen on the "TTMSFNCWaitingIndicatorAppearance" control while the application is processing in the background?

Hi,

Are you loading the data in a thread? if you are loading the data in the main GUI thread then the animation will be blocked. It should not block if you are loading data in a separate thread.

No. it is not in a separate thread. I assumed the control would be animating without having to create a separate thread.

Thank you.

There is no workaround for now at designtime, please don't use this control in a multi-preview form. You can create an instance programmatically instead.

Understood. Change implemented as suggested and all seems to be working without getting the error message.

1 Like