What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Solved] Button Image?

[Solved] Button Image?
Author: Message:
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
34 / Male / Flag
Joined: May 2005
O.P. Huh?  [Solved] Button Image?
Reading the Schema Documentation, under the ButtonControl element there is "Image".
Does this mean I can have an image shown on/instead of the default button? And if so, how do I do it, as I tried the followng which failed:

code:
<Control xsi:type="ButtonControl" Id="BtnClose">
        <Position Left="215" Top="163" Width="76"/>
        <Image><Name>close</Name></Image>
</Control>
Using this I just get a blank button.

I have a file called close.png in the Images subdirectory of my script folder.

Any help appreciated...

Edit:

It appears that the image must be the exact same size or smaller than the button it is being placed on, or it will not draw. My image was 1px too tall, but after removing that it worked.

This post was edited on 07-09-2006 at 11:47 PM by pollolibredegrasa.
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
07-09-2006 07:06 PM
Profile PM Find Quote Report
Joereynolds89
Junior Member
**


Posts: 69
Joined: Jul 2006
RE: Button Image?
<Control xsi:type="ButtonControl" Id="BtnClose">
<Position Left="215" Top="163" Width="76"/>
<Image><Name>images/close.png</Name></Image>
</Control>

im just guessing btw :P

This post was edited on 07-09-2006 at 09:29 PM by Joereynolds89.
07-09-2006 09:27 PM
Profile E-Mail PM Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
34 / Male / Flag
Joined: May 2005
O.P. RE: Button Image?
Nah, didnt work :(

I just get a blank button still.

Thanks anyway
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
07-09-2006 10:34 PM
Profile PM Find Quote Report
« 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