ios - TAniIndicator not animating while performing an action. -


in application, have actions/buttons linked queries load new forms , populate tables data. have animated spinner animate while queries load.

my current code has default taniindicator.visible/enabled properties set false , when button pressed load new form, procedure begins enabling both of taniindicator properties, however, in application, spinner never shows , faint see once queries finished , new form ready appear. ?

using delphi xe4, developing ios application.

it because perform query on main thread, , ui updates blocked while query executing. should start indicator, detach new background thread or queue, launch task on thread. once done, switch main thread , hide or stop indicator.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -