PowerBuilderアプリケーションをモダンナイズ!

ローディング サークル

Ultimate Suite for PowerBuilder Query Builder

このコントロールは、回転するローディング サークルを表示して、長時間実行されているマルチ スレッド プロセスを示します。

ウィンドウ上に advguicontrols.pbl の u_cst_loadingcircle を配置します。

ノート:ローディング サークルのアニメーションは、アプリケーションのメイン UI スレッドを使用して行われます。UI スレッドは 1 つしかありません。他のプロセスによってこれがビジー状態の場合、ローディング サークルのアニメーションは停止します。長時間実行中で、UI ロックがかかっているプロセスを、独自のセカンダリ スレッドに配置する必要があります。これにより

//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()