What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Change caption when a window is opening

[?] Change caption when a window is opening
Author: Message:
gravier
New Member
*

Avatar
Pwet !

Posts: 5
33 / Male / Flag
Joined: Dec 2006
O.P. [?] Change caption when a window is opening
Hi,
I'm french and my english isn't very good.. :$
I will try to ask my question..

I have an xml window and I want change caption's value when it opens.
I try to use SetControlText() but it returns an error :S

here my code :
code:
case "AboutOsef":
            var Wnd = Window('Interface.xml', 'about');
            Wnd.SetControlText('website', url);
            Wnd.SetControlText('version', v);
            break;


and the error's translation (my error is in french..):
code:
Error: 'undefined' has the value Null or isn't an object..
       Line: 62. Code: -2146823281.
Function OnEvent_MenuClicked returned an error. Code: -2147352567


Thx.

EDIT: the code is in OnEvent_MenuClicked() and the line 62 is "Wnd.SetControlText('website', url);"

This post was edited on 12-14-2006 at 06:35 PM by gravier.
Mais osef quoi !
12-14-2006 06:29 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Change caption when a window is opening - by gravier on 12-14-2006 at 06:29 PM
RE: [?] Change caption when a window is opening - by Silentdragon on 12-14-2006 at 10:05 PM
RE: [?] Change caption when a window is opening - by NanaFreak on 12-14-2006 at 11:09 PM
RE: [?] Change caption when a window is opening - by gravier on 12-15-2006 at 04:46 PM


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