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

RadioControl
Author: Message:
sliverman
New Member
*


Posts: 3
34 / Male / Flag
Joined: Jan 2008
O.P. RadioControl
I would like making walk puts RadioControl and that the synthaxe changes of [c]  towards [a] but I do not know how to make, here is my code :

code:
function OnPanelColorPseudoEvent_CtrlClicked(Wnd, ControlId)
{
    Radio(ControlId);
}

function Radio(ControlId){
    if(ControlId=="WndPseudo.RadCouleurTexte"){
        if(ControlId.substr(0,19)=="PanelColor.BtnColor"){
        WndPseudo.EditBox_ReplaceSel("txtPseudo","[c="+ControlId.substr(ControlId.length-2,ControlId.length)+"][/c]");
        }
    }
    else if(ControlId=="WndPseudo.RadCouleurFond"){
        if(ControlId.substr(0,19)=="PanelColor.BtnColor"){
        WndPseudo.EditBox_ReplaceSel("txtPseudo","[a="+ControlId.substr(ControlId.length-2,ControlId.length)+"][/a]");
        }
    }
}


I have create a new function because window puts are various windows children and otherwise I do not know how to make

Can you help me please ?

Sorry for my English

This post was edited on 01-26-2008 at 12:26 PM by sliverman.
01-26-2008 12:25 PM
Profile E-Mail PM 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