2016-02-06, 05:26
Hi,
I have a problem with System.IdleTime... It return nothing when I try to define it like that :
with this skin settings :
Label2 is correctly displayed.
I have tried this too :
Nothing is working.
I have a problem with System.IdleTime... It return nothing when I try to define it like that :
Code:
<visible>[System.IdleTime($INFO[Skin.String(timelimit)]) + Skin.HasSetting(furniture.overlayinfo)]</visible>
with this skin settings :
Code:
<control type="button" id="9020">
<width>100%</width>
<label>- Time Limit</label>
<label2>$INFO[Skin.String(timelimit)] seconds</label2>
<onclick>Skin.SetNumeric(timelimit)</onclick>
<include>Defs_OptionButton</include>
<visible>ControlGroup(8000).HasFocus(8097)</visible>
<visible>Skin.HasSetting(furniture.overlayinfo)</visible>
</control>
Label2 is correctly displayed.
I have tried this too :
Code:
<visible>[System.IdleTime($VAR[Label_SkinSetting_TimeLimit]) + Skin.HasSetting(furniture.overlayinfo)]</visible>
Code:
<control type="button" id="9020">
<width>100%</width>
<label>- Time Limit</label>
<label2>$VAR[Label_SkinSetting_TimeLimit] seconds</label2>
<onclick>Skin.SetNumeric(timelimit)</onclick>
<include>Defs_OptionButton</include>
<visible>ControlGroup(8000).HasFocus(8097)</visible>
<visible>Skin.HasSetting(furniture.overlayinfo)</visible>
</control>
Code:
<variable name="Label_SkinSetting_TimeLimit">
<value condition="IsEmpty(Skin.String(timelimit))">5</value>
<value>$INFO[Skin.String(timelimit)]</value>
</variable>
Nothing is working.