What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » [help me] multi val not working

[help me] multi val not working
Author: Message:
Willz
Senior Member
****

Avatar

Posts: 953
Reputation: 52
36 / Male / Flag
Joined: Jul 2006
RE: [help me] multi val not working
I think what he is after is being able to change one image depending on what the multi val says. Here is a small example

Multival code for options section:

code:


<MultiVal Name="Button">
                <DispLabel>Pick A button style</DispLabel>
                <DispHelp>My awesomely helpful comment!</DispHelp>
                <Values>
                    <Value DispLabel="Pick Button 1">Button1</Value>
                    <Value DispLabel="Pick Button 1">Button2</Value>
                   
                </Values>
                <Default>Button1</Default>
            </MultiVal>
           




Then what you have to do is create a ResGroup for every single option that is possible to pick for the MultiVal. In this case there is only two.

code:

<ResGroup>
           <Restrictions>
               <MsgVersions>
                   <Version Major="8" Minor="5"/>
               </MsgVersions>
               <SkinOptions>
                   <OptionSet>
                    <Conditions>Button= "Button1" </Conditions>                 
                </OptionSet>
            </SkinOptions>
           </Restrictions>
           <Resources>
               <New>
               <Pictures>
                              <Picture Id="59001">
                                   <File>images/59001_button1.png</File>
                              </Picture>
                        </Pictures>
               </New>
           </Resources>
       </ResGroup>
<ResGroup>
           <Restrictions>
               <MsgVersions>
                   <Version Major="8" Minor="5"/>
               </MsgVersions>
               <SkinOptions>
                   <OptionSet>
                    <Conditions>Button= "Button2" </Conditions>                 
                </OptionSet>
            </SkinOptions>
           </Restrictions>
           <Resources>
               <New>
               <Pictures>
                              <Picture Id="59001">
                                   <File>images/59001_button2.png</File>
                              </Picture>
                        </Pictures>
               </New>
           </Resources>
       </ResGroup>



So as you can see all this does is add resource 59001 depending on what value you have selected in the multival.

If you have a proper options panel then you have to add in a new control that has an Id that matches the MultiVal, also each option has to match the value of each option in the multival.

This post was edited on 05-29-2008 at 12:44 AM by Willz.
05-29-2008 12:43 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help me] multi val not working - by zogo on 05-28-2008 at 04:17 PM
RE: [help me] multi val not working - by vaccination on 05-28-2008 at 05:49 PM
RE: [help me] multi val not working - by Willz on 05-29-2008 at 12:43 AM
RE: [help me] multi val not working - by zogo on 05-31-2008 at 09:28 PM
RE: [help me] multi val not working - by Nagamasa on 05-31-2008 at 09:49 PM
RE: [help me] multi val not working - by blessedguy on 05-31-2008 at 11:05 PM
RE: RE: [help me] multi val not working - by Willz on 06-01-2008 at 12:57 AM
RE: [help me] multi val not working - by blessedguy on 06-01-2008 at 03:12 PM
RE: [help me] multi val not working - by zogo on 06-05-2008 at 08:49 PM
RE: [help me] multi val not working - by Nagamasa on 06-05-2008 at 11:26 PM
RE: [help me] multi val not working - by zogo on 06-06-2008 at 07:12 PM
RE: [help me] multi val not working - by Willz on 06-07-2008 at 12:47 AM


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