Shoutbox

[?]help on staticcontrol :( - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [?]help on staticcontrol :( (/showthread.php?tid=69168)

[?]help on staticcontrol :( by roflmao456 on 12-05-2006 at 02:40 AM

I need help on the StaticControl to make it wrapped (Word Wrap)
can someone tell me?


RE: [?]help on staticcontrol :( by matty on 12-05-2006 at 02:54 AM

quote:
Originally posted by roflmao456
I need help on the StaticControl to make it wrapped (Word Wrap)
can someone tell me?

code:
<Control xsi:type="StaticControl" Id="StcMyTestControl">
    <Position Top="10" Width="50" Height="100" Left="10" />
    <Attributes>
        <WrapText>True</WrapText>
    </Attributes>
    <Caption>Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated.</Caption>
</Control>

Read the scripting docs?
RE: [?]help on staticcontrol :( by Spunky on 12-05-2006 at 03:18 AM

I think you mean:

code:
<Control xsi:type="StaticControl" Id="StcMyTestControl">
    <Position Top="10" Width="50" Height="100" Left="10" />
    <Attributes>
        <WrapText>True</WrapText>
    </Attributes>
    <Caption>Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated. Hi this is some text that is repeated.</Caption>
</Control>


I also already told him to search the scripting documentation before this post was made in order for him to start looking things up