Combo_GetItemData help [SOLVED] - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: Combo_GetItemData help [SOLVED] (/showthread.php?tid=67869) Combo_GetItemData help [SOLVED] by pollolibredegrasa on 10-30-2006 at 05:23 PM
OK I'm using the code below to add statuses to a combo box, and I'm using the ItemData parameter to store the Status codes. code: ^^ But when I use GetItemData on the items in that for loop, it ouputs 0 for all of them. I don't know whats wrong, as the combo box IS created in my window, and it IS filled. Can anyone offer any suggestions? RE: Combo_GetItemData help by Mnjul on 10-30-2006 at 06:13 PM
My experience tells me that you need to select the item first to make GetItemData return the correct value. code: RE: Combo_GetItemData help by pollolibredegrasa on 10-30-2006 at 06:14 PM Worked, thanks Mnjul |