2013-06-10, 21:29
How can i make a progressbar control unvisible whene it's at 0% ?
thank you in advance
thank you in advance
Control.GetLabel(ID)
!StringCompare(Control.GetLabel(ID),0)
<control type="progress" id="12">
<description>My first progress control</description>
<posx>10</posx>
<posy>208</posy>
<width>180</width>
<height>10</height>
<visible>!StringCompare(ListItem.Property(Status),"PROCHAINEMENT")</visible>
<reveal>true</reveal>
<texturebg>progress_bg.png</texturebg>
<lefttexture>progress_left.png</lefttexture>
<midtexture>progress_center.png</midtexture>
<righttexture>progress_right.png</righttexture>
<info>ListItem.Property(Progress)</info>
</control>