What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » help? (read-only field)

help? (read-only field)
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. Huh?  help? (read-only field)
hello i need help if this is possible... now im working with interface windows.


how do you undo the text control thingy like say

someone types in the text control in the window then it automatically removes the letter they just typed like:

set text  "hello"  they change it to "hello!" adding the '!' with the hello but it just undoes the '!' so it ends up like normal "hello"

can anyone help :(

This post was edited on 11-29-2006 at 04:38 AM by WDZ.
[quote]
Ultimatess6
: What a noob mod
11-28-2006 09:03 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: help?
Not exactly sure what you mean.

Do you mean not allow the text to be changed?
11-28-2006 09:43 PM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. RE: help?
yeah that .. precisely :S
[quote]
Ultimatess6
: What a noob mod
11-28-2006 09:47 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: help?
Why not set an attribute to readonly?

code:
<Control xsi:type="EditControl" Id="EdtTest">
    <Attributes>
        <ReadOnly>True</ReadOnly>
    </Attributes>
    <DefaultText>Hello</DefaultText>
</Control>
11-28-2006 09:58 PM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. RE: RE: help?
quote:
Originally posted by Matty
Why not set an attribute to readonly?


:P im just starting on interface windows... thanks


1 more thing though... how can i align the text

This post was edited on 11-28-2006 at 10:03 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
11-28-2006 10:00 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: help?
http://mpscripts.net/docs.php#element_align_link02169e70
11-28-2006 10:05 PM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. RE: help?
i do not get it, sorry but can you like paste a code plz :)
[quote]
Ultimatess6
: What a noob mod
11-28-2006 10:27 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: help?
I am pretty sure this is how its done... I can't test it tho as I am at work.

code:
<Control xsi:type="EditControl" Id="EdtTest">
    <Attributes Align="Right">
        <ReadOnly>True</ReadOnly>
    </Attributes>
    <DefaultText>Hello</DefaultText>
</Control>
or
code:
<Control xsi:type="EditControl" Id="EdtTest">
    <Attributes>
        <Align>Right</Align>
        <ReadOnly>True</ReadOnly>
    </Attributes>
    <DefaultText>Hello</DefaultText>
</Control>

This post was edited on 11-28-2006 at 10:35 PM by matty.
11-28-2006 10:33 PM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. RE: help?
the second one works, thanks :D
[quote]
Ultimatess6
: What a noob mod
11-28-2006 10:40 PM
Profile PM Web 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