What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Setting button image during runtime

Setting button image during runtime
Author: Message:
tribbium
Junior Member
**


Posts: 34
Reputation: 3
– / Male / Flag
Joined: Jul 2008
O.P. Setting button image during runtime
Note: This is in reference to buttons that are not using CustomLook where the image is set inside the default grey rectangular button.

An example button containing an image follows:
code:
<Control xsi:type = "ButtonControl" Id = "EditQuestion">
    <Position Left = "56" Top = "105" Width = "80" Height = "13"/>
    <Image>
        <Name>add</Name>
    </Image>
</Control>

I want to be able to change the Image used during runtime. Since the image is not encapsulated in an ImageElement, I cannot use the function ImageElmt_SetImageFile to set it. How would you go about doing this?
Are you and your friends trivia enthusiasts? Download Tribbium! http://www.msgpluslive.net/scripts/view/427-Tribb...ia-Gaming-System)/

Download questions for Tribbium here:
http://www.tribbium.tk
08-01-2009 12:51 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Setting button image during runtime - by tribbium on 08-01-2009 at 12:51 AM
RE: Setting button image during runtime - by Spunky on 08-01-2009 at 12:57 AM
RE: Setting button image during runtime - by mathieumg on 08-01-2009 at 01:05 AM
RE: Setting button image during runtime - by Spunky on 08-01-2009 at 09:31 AM
RE: Setting button image during runtime - by Matti on 08-01-2009 at 09:58 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