Results 1 to 2 of 2

Thread: Can I add another ITemData to a listbox??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Location
    Florida, USA
    Posts
    93

    Can I add another ITemData to a listbox??

    I have a listbox that I added

    Listbox.AddItem customer name
    Listbox.Itemdata(listcount-1) = CustomerNumber

    How can I add another ItemData if is possible, I want to add
    integers from 1 to .....5 per say.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    you can't... the best thing to do is make an array (or collection, whichever is most apt) to hold the data, then put the array index into the ItemData.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width