Help - Search - Members - Calendar
Full Version: Edit Boxes Not Updateing Value?
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM WIP Beta forum
Jezz_X
Was Playing around with the simple namechanger scripts and it seems that getting .value xml part from an edit box of a dialog in the new version dosn't get the updated text but still the old one. I tried this on both my IP and Name Changer scripts and the values were the same as before edited I even tried to convert it to the new XML pathing stuff in the latest release and still the same.

Of course it could be I dont know what I'm doing but hey I'll ask anyway

HELP
Jezz_X
Ahh never mind figured it out the Dialog XML actually has to have the <value></Value> bit in it in the new wip the old ones didn't matter
BenJeremy
Strange. I don't quite understand what the exact issue is here, though.
Jezz_X
Its not really an issue just slackness on my part but I'll spell it out for you

In the old wips if you had this

Dialog.XML

<Control Type="editboxsingle" CtrlID="106">
<rect t="160" l="10" b="185" r="390" />
</Control>

and then in you script lines like

XMLSetValue testdialog !.Control:1.Value "%kbInput%"
..
..
..
XMLGetValue testdialog kbInput !.Control:1.Value

It would work OK but in the new wips for that to work you need to actually have the dialog xml like this

<Control Type="editboxsingle" CtrlID="106">
<rect t="160" l="10" b="185" r="390" />
<Value></Value>
</Control>


I guess its not creating/updateing the value like it used to if the mxl tag didn't exist

Hope you understand that
flattspott
That's why I do this just incase for any control I use. I add these for them all.

<Selected></Selected>
<Value></Value>
<Enable></Enable>
<Visible></Visible>
<Text></Text>
<Color></Color>
<BackColor></BackColor>
<BorderColor></BorderColor>
<Group></Group>

That way I'm sure all the nodes are there when I try to use them.
Jezz_X
By the way the above example would let you set the value but if you try to get the updated text from the edit box it would still be the same as the original value from the xml set line.

Oh and I tried the new way of doing xml and it ws the same also
flattspott
Post you script or a link to it and I give it a go so I can understand what your referring too.
Jezz_X
QUOTE (flattspott @ Feb 26 2004, 10:06 PM)
Post you script or a link to it and I give it a go so I can understand what your referring too.

Nah its OK I fixed it but if you want to see for yourself try downloading and using this one

http://forums.xbox-scene.com/index.php?showtopic=174241

The name will always go unchanged
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.