Advertisement
Guest User

autoscroll speed

a guest
Apr 26th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.75 KB | None | 0 0
  1. CustomSettings.xml
  2. <control type="group" id="504">
  3.                     <control type="button" id="505">
  4.                     <label>Lente(8s)</label>
  5.                     <width>200</width>
  6.                     <onright>506</onright>
  7.                     <onleft>502</onleft>
  8.                     <onclick>Skin.SetString(vitesse,"lente")</onclick>
  9.                     <enable>!StringCompare(Skin.String(vitesse),"lente")</enable>
  10.                     </control>
  11.                     <control type="button" id="506">
  12.                     <label>Moyenne(5s)</label>
  13.                     <width>200</width>
  14.                     <left>200</left>
  15.                     <onright>507</onright>
  16.                     <onleft>505</onleft>
  17.                     <onclick>Skin.SetString(vitesse,"moyenne")</onclick>
  18.                     <enable>!StringCompare(Skin.String(vitesse),"moyenne")</enable>
  19.                     </control>
  20.                     <control type="button" id="507">
  21.                     <label>Rapide(3s)</label>
  22.                     <width>200</width>
  23.                     <left>400</left>
  24.                     <onright>505</onright>
  25.                     <onleft>506</onleft>
  26.                     <onclick>Skin.SetString(vitesse,"rapide")</onclick>
  27.                     <enable>!StringCompare(Skin.String(vitesse),"rapide")</enable>
  28.                     </control>
  29.                 </control>
  30.  
  31. includes.xml
  32.     <include name="autoscrolllente"><autoscroll time="8000">true</autoscroll></include>
  33.     <include name="autoscrollmoyenne"><autoscroll time="5000">true</autoscroll></include>
  34.     <include name="autoscrollrapide"><autoscroll time="3000">true</autoscroll></include>
  35.  
  36. Home.xml
  37.     <control type="list" id="56">
  38.       <description>My first list container</description>
  39.     <posx>40</posx>
  40.       <posy>100</posy>
  41.       <width>1200</width>
  42.       <height>550</height>
  43.       <visible>true</visible>
  44.     <include condition="StringCompare(Skin.String(vitesse),lente)">autoscrolllente</include>
  45.     <include condition="StringCompare(Skin.String(vitesse),moyenne)">autoscrollmoyenne</include>
  46.     <include condition="StringCompare(Skin.String(vitesse),rapide)">autoscrollrapide</include>
  47. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement