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

ComboBox and item data
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. ComboBox and item data
code:
for(var i=0; i<listbackground.length; i++){
   cwnd_Background.Combo_AddItem('lstBgURL', listbackground[i], parseInt(numbackground[i]));
   Debug.Trace('parse= '+parseInt(numbackground[i]));
   Debug.Trace('data=  '+cwnd_Background.Combo_GetItemData('lstBgURL', i));
}
makes the following output:
code:
parse= 2
data=  0
parse= 3
data=  0
parse= 4
data=  0
In theory, each parse and data pair should be equal. Somethings wrong with the Combo_AddItem part I'm guessing?
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
11-23-2007 03:50 AM
Profile PM Web Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: ComboBox and item data
Mnjul's reply to Combo_GetItemData help [SOLVED]
11-23-2007 07:07 AM
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