What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » help for SliderControl

Pages: (2): « First [ 1 ] 2 » Last »
help for SliderControl
Author: Message:
dada24300
Skinning Contest Winner
**

Avatar

Posts: 37
50 / Male / Flag
Joined: Jan 2009
O.P. help for SliderControl
Hello

I want an integrated slidercontrol in my window option, but I do not find good attributes.

could you please give me an example.
pout in the documentation there are MsgPlus slidercontrol http://www.msgplus.net/Developers/Documentation/Official-Skinning-Documentation/InterfaceSchema,InterfaceSchema/#complexType_SliderControl_Link04A1C9E0
    [Image: mysignaturegarfield.png]
03-13-2011 02:41 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: help for SliderControl
My bad, I didn't realize this was in the Skinning section!
03-13-2011 03:15 PM
Profile E-Mail PM Find Quote Report
dada24300
Skinning Contest Winner
**

Avatar

Posts: 37
50 / Male / Flag
Joined: Jan 2009
O.P. RE: help for SliderControl
ok thank you anyway.
if anyone knows how to do, help me please.
    [Image: mysignaturegarfield.png]
03-13-2011 03:22 PM
Profile E-Mail PM Web Find Quote Report
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
RE: help for SliderControl
Hi there, I have never used this, but I imagine Plus! sends the value to your option according to <Range> [For example, 50% of 0-255 would be 128]
xml code:
<Control xsi:type="SliderControl" Id="SliderTest">
        <Position Top="5" Width="120" Left="5"/>
        <Help>Use an option that accepts numerical values</Help>
        <Attributes>
          <AutoTicks>0</AutoTicks>
          <EnableSelRange>false</EnableSelRange>
          <Orientation>Horizontal</Orientation>
          <TickMarks>Bottom</TickMarks>
        </Attributes>
        <Range>
          <Minimum>0</Minimum>
          <Maximum>255</Maximum>
        </Range>
</Control>

This post was edited on 03-13-2011 at 03:41 PM by blessedguy.
[Image: Empty.png]
03-13-2011 03:41 PM
Profile PM Web Find Quote Report
dada24300
Skinning Contest Winner
**

Avatar

Posts: 37
50 / Male / Flag
Joined: Jan 2009
O.P. RE: help for SliderControl
in fact it is to change the transparency of a window.
in the skin info I use this:

code:
<MultiVal Name="Contacttspt">
<Values>
<Value DispLabel="100%">100</Value>
<Value DispLabel="75%">75</Value>
<Value DispLabel="50%">50</Value>
<Value DispLabel="25%">25</Value>
<Value DispLabel="0%">0</Value>
</Values>
<Default>50</Default>
</MultiVal>

and the uifille use :

code:
<*PlusSkin Conditions(Contacttspt= "100") *>
<Element LayoutPos=client Layout=FillLayout() alpha=0 Background=rcclr("ruxc",25000) Foreground=rcclr("ruxc",25001) FontFace=rcstr("ruxc",25000) FontWeight=rcint("ruxc",20979)>
</*PlusSkin*>
<*PlusSkin Conditions(Contacttspt= "75") *>
<Element LayoutPos=client Layout=FillLayout() alpha=64 Background=rcclr("ruxc",25000) Foreground=rcclr("ruxc",25001) FontFace=rcstr("ruxc",25000) FontWeight=rcint("ruxc",20979)>
</*PlusSkin*>
<*PlusSkin Conditions(Contacttspt= "50") *>
<Element LayoutPos=client Layout=FillLayout() alpha=128 Background=rcclr("ruxc",25000) Foreground=rcclr("ruxc",25001) FontFace=rcstr("ruxc",25000) FontWeight=rcint("ruxc",20979)>
</*PlusSkin*>
<*PlusSkin Conditions(Contacttspt= "25") *>
<Element LayoutPos=client Layout=FillLayout() alpha=192 Background=rcclr("ruxc",25000) Foreground=rcclr("ruxc",25001) FontFace=rcstr("ruxc",25000) FontWeight=rcint("ruxc",20979)>
</*PlusSkin*>
<*PlusSkin Conditions(Contacttspt= "0") *>
<Element LayoutPos=client Layout=FillLayout() Background=rcclr("ruxc",25000) Foreground=rcclr("ruxc",25001) FontFace=rcstr("ruxc",25000) FontWeight=rcint("ruxc",20979)>
</*PlusSkin*>

I tried your code.
if I do not change the id but it appears is useless, but if I put the id Contacttspt it does not work.
is what you'll be the changes I should apply please.

EDIT :

I just thought that in the uifille I will put this:

code:
<Element LayoutPos=client Layout=FillLayout() alpha=<*PlusSkin Conditions(Contacttspt) *> Background=rcclr("ruxc",25000) Foreground=rcclr("ruxc",25001) FontFace=rcstr("ruxc",25000) FontWeight=rcint("ruxc",20979)>

is what you think is good?
but after what to put in the skininfo

This post was edited on 03-13-2011 at 04:38 PM by dada24300.
    [Image: mysignaturegarfield.png]
03-13-2011 04:25 PM
Profile E-Mail PM Web Find Quote Report
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
RE: help for SliderControl
quote:
Originally posted by dada24300
but if I put the id Contacttspt it does not work.
I think that happens because of the possible values, the slider must suppose all values are valid. Maybe you can use ValueOf in your definitions without declaring your option as multival.

For example:

Definitions
xml code:
<Element LayoutPos=client Layout=FillLayout() alpha=<*PlusSkin ValueOf(Contacttspt)*/> Background=rcclr("ruxc",25000) Foreground=rcclr("ruxc",25001) FontFace=rcstr("ruxc",25000) FontWeight=rcint("ruxc",20979)>

Panel
xml code:
<Control xsi:type="SliderControl" Id="Contacttspt">
        <Position Top="5" Width="120" Left="5"/>
        <Help>Contact list transparency</Help>
        <Attributes>
          <AutoTicks>25</AutoTicks>
          <EnableSelRange>false</EnableSelRange>
          <Orientation>Vertical</Orientation>
          <TickMarks>Bottom</TickMarks>
        </Attributes>
        <Range>
          <Minimum>0</Minimum>
          <Maximum>255</Maximum>
        </Range>
</Control>
And add labels with additional elements.

This post was edited on 03-13-2011 at 04:37 PM by blessedguy.
[Image: Empty.png]
03-13-2011 04:33 PM
Profile PM Web Find Quote Report
dada24300
Skinning Contest Winner
**

Avatar

Posts: 37
50 / Male / Flag
Joined: Jan 2009
O.P. RE: help for SliderControl
thank you very much for your help.

it must be necessary to modify the skininfo too, right?
    [Image: mysignaturegarfield.png]
03-13-2011 04:45 PM
Profile E-Mail PM Web Find Quote Report
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
RE: help for SliderControl
Hm, indeed. I'm trying to figure it out, wait a bit :)
[Image: Empty.png]
03-13-2011 04:45 PM
Profile PM Web Find Quote Report
dada24300
Skinning Contest Winner
**

Avatar

Posts: 37
50 / Male / Flag
Joined: Jan 2009
O.P. RE: help for SliderControl
oki thank you
    [Image: mysignaturegarfield.png]
03-13-2011 04:52 PM
Profile E-Mail PM Web Find Quote Report
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
RE: help for SliderControl
Sorry, couldn't get it to work =/ Even tried all possible values (A) [Considering it must be an integer value]
Spoiler:

xml code:
<MultiVal Name="Contacttspt">
          <DispLabel>Teste</DispLabel>
          <Values>
            <Value DispLabel="0">0</Value>
            <Value DispLabel="1">1</Value>
            <Value DispLabel="2">2</Value>
            <Value DispLabel="3">3</Value>
            <Value DispLabel="4">4</Value>
            <Value DispLabel="5">5</Value>
            <Value DispLabel="6">6</Value>
            <Value DispLabel="7">7</Value>
            <Value DispLabel="8">8</Value>
            <Value DispLabel="9">9</Value>
            <Value DispLabel="10">10</Value>
            <Value DispLabel="11">11</Value>
            <Value DispLabel="12">12</Value>
            <Value DispLabel="13">13</Value>
            <Value DispLabel="14">14</Value>
            <Value DispLabel="15">15</Value>
            <Value DispLabel="16">16</Value>
            <Value DispLabel="17">17</Value>
            <Value DispLabel="18">18</Value>
            <Value DispLabel="19">19</Value>
            <Value DispLabel="20">20</Value>
            <Value DispLabel="21">21</Value>
            <Value DispLabel="22">22</Value>
            <Value DispLabel="23">23</Value>
            <Value DispLabel="24">24</Value>
            <Value DispLabel="25">25</Value>
            <Value DispLabel="26">26</Value>
            <Value DispLabel="27">27</Value>
            <Value DispLabel="28">28</Value>
            <Value DispLabel="29">29</Value>
            <Value DispLabel="30">30</Value>
            <Value DispLabel="31">31</Value>
            <Value DispLabel="32">32</Value>
            <Value DispLabel="33">33</Value>
            <Value DispLabel="34">34</Value>
            <Value DispLabel="35">35</Value>
            <Value DispLabel="36">36</Value>
            <Value DispLabel="37">37</Value>
            <Value DispLabel="38">38</Value>
            <Value DispLabel="39">39</Value>
            <Value DispLabel="40">40</Value>
            <Value DispLabel="41">41</Value>
            <Value DispLabel="42">42</Value>
            <Value DispLabel="43">43</Value>
            <Value DispLabel="44">44</Value>
            <Value DispLabel="45">45</Value>
            <Value DispLabel="46">46</Value>
            <Value DispLabel="47">47</Value>
            <Value DispLabel="48">48</Value>
            <Value DispLabel="49">49</Value>
            <Value DispLabel="50">50</Value>
            <Value DispLabel="51">51</Value>
            <Value DispLabel="52">52</Value>
            <Value DispLabel="53">53</Value>
            <Value DispLabel="54">54</Value>
            <Value DispLabel="55">55</Value>
            <Value DispLabel="56">56</Value>
            <Value DispLabel="57">57</Value>
            <Value DispLabel="58">58</Value>
            <Value DispLabel="59">59</Value>
            <Value DispLabel="60">60</Value>
            <Value DispLabel="61">61</Value>
            <Value DispLabel="62">62</Value>
            <Value DispLabel="63">63</Value>
            <Value DispLabel="64">64</Value>
            <Value DispLabel="65">65</Value>
            <Value DispLabel="66">66</Value>
            <Value DispLabel="67">67</Value>
            <Value DispLabel="68">68</Value>
            <Value DispLabel="69">69</Value>
            <Value DispLabel="70">70</Value>
            <Value DispLabel="71">71</Value>
            <Value DispLabel="72">72</Value>
            <Value DispLabel="73">73</Value>
            <Value DispLabel="74">74</Value>
            <Value DispLabel="75">75</Value>
            <Value DispLabel="76">76</Value>
            <Value DispLabel="77">77</Value>
            <Value DispLabel="78">78</Value>
            <Value DispLabel="79">79</Value>
            <Value DispLabel="80">80</Value>
            <Value DispLabel="81">81</Value>
            <Value DispLabel="82">82</Value>
            <Value DispLabel="83">83</Value>
            <Value DispLabel="84">84</Value>
            <Value DispLabel="85">85</Value>
            <Value DispLabel="86">86</Value>
            <Value DispLabel="87">87</Value>
            <Value DispLabel="88">88</Value>
            <Value DispLabel="89">89</Value>
            <Value DispLabel="90">90</Value>
            <Value DispLabel="91">91</Value>
            <Value DispLabel="92">92</Value>
            <Value DispLabel="93">93</Value>
            <Value DispLabel="94">94</Value>
            <Value DispLabel="95">95</Value>
            <Value DispLabel="96">96</Value>
            <Value DispLabel="97">97</Value>
            <Value DispLabel="98">98</Value>
            <Value DispLabel="99">99</Value>
            <Value DispLabel="100">100</Value>
            <Value DispLabel="101">101</Value>
            <Value DispLabel="102">102</Value>
            <Value DispLabel="103">103</Value>
            <Value DispLabel="104">104</Value>
            <Value DispLabel="105">105</Value>
            <Value DispLabel="106">106</Value>
            <Value DispLabel="107">107</Value>
            <Value DispLabel="108">108</Value>
            <Value DispLabel="109">109</Value>
            <Value DispLabel="110">110</Value>
            <Value DispLabel="111">111</Value>
            <Value DispLabel="112">112</Value>
            <Value DispLabel="113">113</Value>
            <Value DispLabel="114">114</Value>
            <Value DispLabel="115">115</Value>
            <Value DispLabel="116">116</Value>
            <Value DispLabel="117">117</Value>
            <Value DispLabel="118">118</Value>
            <Value DispLabel="119">119</Value>
            <Value DispLabel="120">120</Value>
            <Value DispLabel="121">121</Value>
            <Value DispLabel="122">122</Value>
            <Value DispLabel="123">123</Value>
            <Value DispLabel="124">124</Value>
            <Value DispLabel="125">125</Value>
            <Value DispLabel="126">126</Value>
            <Value DispLabel="127">127</Value>
            <Value DispLabel="128">128</Value>
            <Value DispLabel="129">129</Value>
            <Value DispLabel="130">130</Value>
            <Value DispLabel="131">131</Value>
            <Value DispLabel="132">132</Value>
            <Value DispLabel="133">133</Value>
            <Value DispLabel="134">134</Value>
            <Value DispLabel="135">135</Value>
            <Value DispLabel="136">136</Value>
            <Value DispLabel="137">137</Value>
            <Value DispLabel="138">138</Value>
            <Value DispLabel="139">139</Value>
            <Value DispLabel="140">140</Value>
            <Value DispLabel="141">141</Value>
            <Value DispLabel="142">142</Value>
            <Value DispLabel="143">143</Value>
            <Value DispLabel="144">144</Value>
            <Value DispLabel="145">145</Value>
            <Value DispLabel="146">146</Value>
            <Value DispLabel="147">147</Value>
            <Value DispLabel="148">148</Value>
            <Value DispLabel="149">149</Value>
            <Value DispLabel="150">150</Value>
            <Value DispLabel="151">151</Value>
            <Value DispLabel="152">152</Value>
            <Value DispLabel="153">153</Value>
            <Value DispLabel="154">154</Value>
            <Value DispLabel="155">155</Value>
            <Value DispLabel="156">156</Value>
            <Value DispLabel="157">157</Value>
            <Value DispLabel="158">158</Value>
            <Value DispLabel="159">159</Value>
            <Value DispLabel="160">160</Value>
            <Value DispLabel="161">161</Value>
            <Value DispLabel="162">162</Value>
            <Value DispLabel="163">163</Value>
            <Value DispLabel="164">164</Value>
            <Value DispLabel="165">165</Value>
            <Value DispLabel="166">166</Value>
            <Value DispLabel="167">167</Value>
            <Value DispLabel="168">168</Value>
            <Value DispLabel="169">169</Value>
            <Value DispLabel="170">170</Value>
            <Value DispLabel="171">171</Value>
            <Value DispLabel="172">172</Value>
            <Value DispLabel="173">173</Value>
            <Value DispLabel="174">174</Value>
            <Value DispLabel="175">175</Value>
            <Value DispLabel="176">176</Value>
            <Value DispLabel="177">177</Value>
            <Value DispLabel="178">178</Value>
            <Value DispLabel="179">179</Value>
            <Value DispLabel="180">180</Value>
            <Value DispLabel="181">181</Value>
            <Value DispLabel="182">182</Value>
            <Value DispLabel="183">183</Value>
            <Value DispLabel="184">184</Value>
            <Value DispLabel="185">185</Value>
            <Value DispLabel="186">186</Value>
            <Value DispLabel="187">187</Value>
            <Value DispLabel="188">188</Value>
            <Value DispLabel="189">189</Value>
            <Value DispLabel="190">190</Value>
            <Value DispLabel="191">191</Value>
            <Value DispLabel="192">192</Value>
            <Value DispLabel="193">193</Value>
            <Value DispLabel="194">194</Value>
            <Value DispLabel="195">195</Value>
            <Value DispLabel="196">196</Value>
            <Value DispLabel="197">197</Value>
            <Value DispLabel="198">198</Value>
            <Value DispLabel="199">199</Value>
            <Value DispLabel="200">200</Value>
            <Value DispLabel="201">201</Value>
            <Value DispLabel="202">202</Value>
            <Value DispLabel="203">203</Value>
            <Value DispLabel="204">204</Value>
            <Value DispLabel="205">205</Value>
            <Value DispLabel="206">206</Value>
            <Value DispLabel="207">207</Value>
            <Value DispLabel="208">208</Value>
            <Value DispLabel="209">209</Value>
            <Value DispLabel="210">210</Value>
            <Value DispLabel="211">211</Value>
            <Value DispLabel="212">212</Value>
            <Value DispLabel="213">213</Value>
            <Value DispLabel="214">214</Value>
            <Value DispLabel="215">215</Value>
            <Value DispLabel="216">216</Value>
            <Value DispLabel="217">217</Value>
            <Value DispLabel="218">218</Value>
            <Value DispLabel="219">219</Value>
            <Value DispLabel="220">220</Value>
            <Value DispLabel="221">221</Value>
            <Value DispLabel="222">222</Value>
            <Value DispLabel="223">223</Value>
            <Value DispLabel="224">224</Value>
            <Value DispLabel="225">225</Value>
            <Value DispLabel="226">226</Value>
            <Value DispLabel="227">227</Value>
            <Value DispLabel="228">228</Value>
            <Value DispLabel="229">229</Value>
            <Value DispLabel="230">230</Value>
            <Value DispLabel="231">231</Value>
            <Value DispLabel="232">232</Value>
            <Value DispLabel="233">233</Value>
            <Value DispLabel="234">234</Value>
            <Value DispLabel="235">235</Value>
            <Value DispLabel="236">236</Value>
            <Value DispLabel="237">237</Value>
            <Value DispLabel="238">238</Value>
            <Value DispLabel="239">239</Value>
            <Value DispLabel="240">240</Value>
            <Value DispLabel="241">241</Value>
            <Value DispLabel="242">242</Value>
            <Value DispLabel="243">243</Value>
            <Value DispLabel="244">244</Value>
            <Value DispLabel="245">245</Value>
            <Value DispLabel="246">246</Value>
            <Value DispLabel="247">247</Value>
            <Value DispLabel="248">248</Value>
            <Value DispLabel="249">249</Value>
            <Value DispLabel="250">250</Value>
            <Value DispLabel="251">251</Value>
            <Value DispLabel="252">252</Value>
            <Value DispLabel="253">253</Value>
            <Value DispLabel="254">254</Value>
            <Value DispLabel="255">255</Value>
          </Values>
          <Default>255</Default>
        </MultiVal>

My bet is that the problem is in the SkinInfo, we're missing something or something's not documented.

Meanwhile, why don't you try RadioControls with CustomLook?

This post was edited on 03-13-2011 at 05:11 PM by blessedguy.
[Image: Empty.png]
03-13-2011 05:09 PM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On