What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » controls in menus

controls in menus
Author: Message:
h.robertson
New Member
*


Posts: 3
Joined: Dec 2006
O.P. controls in menus
Is it possible to create controls in menus?

specificaly, i want to have a textbox or "EditControl" within the menu.
I tried this and a few variations:
code:
function OnGetScriptMenu(Location)
{
    var ScriptMenu = "<ScriptMenu>";
    ScriptMenu += "<MenuEntry Id=\"MnuInter\"><Control xsi:type=\"EditControl\" _ Id=\"txtInter\"><DefaultText>123</DefaultText></Control></MenuEntry>";
    ScriptMenu += "<Separator/>";
    ScriptMenu += "<MenuEntry Id=\"MnuAbout\">Help</MenuEntry>";
    ScriptMenu += "</ScriptMenu>";
   
    return ScriptMenu;
}

the idea is that the menu can be accessed, the value typed in, then when the focus is lost and the menu disappears, a variable is updated with the value from the text box.

and of course, the default value of the text box would be the initial value of the variable.

any ideas?
12-12-2006 03:34 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
controls in menus - by h.robertson on 12-12-2006 at 03:34 PM
RE: controls in menus - by Felu on 12-12-2006 at 03:41 PM
RE: controls in menus - by h.robertson on 12-12-2006 at 03:47 PM
RE: controls in menus - by Spunky on 12-12-2006 at 04:08 PM
RE: controls in menus - by h.robertson on 12-12-2006 at 05:07 PM
RE: controls in menus - by Spunky on 12-12-2006 at 05:08 PM
RE: controls in menus - by gravier on 12-13-2006 at 12:03 PM
RE: controls in menus - by NanaFreak on 12-13-2006 at 12:08 PM
RE: controls in menus - by Eljay on 12-13-2006 at 12:24 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