I got a listbox with ten items. Then i want to add a new item on listindex 5. I dont want it to appear at the bottom as it does when i use the Additem, is there some way i can do that?
Printable View
I got a listbox with ten items. Then i want to add a new item on listindex 5. I dont want it to appear at the bottom as it does when i use the Additem, is there some way i can do that?
you mean the itemdata of the listitem shd be 5?
Hmmm.... I dont exactly understand "itemdata". Lets explain: i got a string in a textbox, i click on listindex 5, then i want my string to be added to the textbox on listindex5 and all the rest will be after listindex5. Understand? Im not that good on English:(
Do you mean this:
VB Code:
List1.AddItem YourString, 5
>Michael_Kamen What life can be easy with people like you...
Thx alot!! :D