PDA

View Full Version : System.Progressbar


Jeroen
2009-04-11, 11:36
Is this infolabel supposed to work in other places besides DialogProgress.xml?
I'm trying to use this in DialogMusicScan.xml and DialogVideoScan.xml, but I can't seem to make it work

jmarshall
2009-04-11, 11:44
It's only used in the progressbar dialog, yes.

The progressbar(s) in the scan dialogs work based on id only.

Jeroen
2009-04-11, 16:16
Hm too bad. Do you think it would be feasible to make this possible somewhere in the future?
Maybe by pointing the label to the progressbar's id?

something like <label>$INFO[System.Progressbar(304)]</label>

If so, I'll create a ticket for it. Thanks

jmarshall
2009-04-12, 02:56
What for exactly - to get the % complete?

Just out of interest, would Control.GetLabel or whatever it is work?

Jeroen
2009-04-12, 20:38
Yep to get the % complete.

Not sure what you mean. Control.GetLabel would work to get the value from an other label right?

if:
<label>$INFO[Control.GetLabel(403)]</label>

is what you mean, I didn't get that to work no.

thanks :)

jmarshall
2009-04-13, 06:30
ok, well let me see whether that's doable or not.

Jeroen
2009-04-13, 20:44
Great, much appreciated :)

jmarshall
2009-04-14, 06:08
r19458 should do the trick.

Cheers,
Jonathan

Jeroen
2009-04-14, 16:03
Wow, thatīs fast. I thought of this as something for 9.10 :laugh:
Iīll check it out tonight, thanks a bunch Jonathan ;)