This control displays a rotating loading circle to indicate a long running multi-threaded process.
Place u_cst_loadingcircle from advguicontrols.pbl on your window.
Note: The loading circle animates using the main UI thread of the application. There's only one UI thread; if it's busy with another process, the animation for the loading circle will stop. You will need to place long running, UI locking, processes in it's own secondary thread. This will insure that the UI thread doesn't lock, preventing the loading circle from spinning.
//Call the available functions to change the controls behaviour //Set Style changes the look of the loading circle uo_1.of_SetStyle(uo_1.IE) uo_1.of_SetStyle(uo_1.MacOSX) uo_1.of_SetStyle(uo_1.Firefox) uo_1.of_SetStyle(uo_1.Custom) //Change the color of the loading circle uo_1.of_SetColor(ll_color) //Starts and Stops the animation uo_1.of_Start() uo_1.of_Stop()