Progress bar - 09/06/03 05:05 PM
How do i update the progress bar while i`m loading an folder with mp3`s in the list of my mp3 dialog?
I`m using mdx.dll and the code for the progress bar is this:
I`m using mdx.dll and the code for the progress bar is this:
Code:
alias progress dialog -m progress progress dialog progress { size -1 -1 129 44 option dbu text "Lager liste...", 1, 5 7 120 15 text "", 2, 1 22 127 18 } on *:dialog:progress:init:*: { mdx.load dll $mdx SetControlMDX $dname 2 ProgressBar smooth > $ctl dll $mdx SetDialog $dname style dlgmodal dll $mdx SetFont $dname 1 -17 400 Verdana load.up } alias load.up { var %dsg = 0 while (%dsg <= 100) { inc %dsg .timer -m 1 $calc(25 * %dsg) .did -a progress 2 %dsg 0 100 } }