Results 1 to 13 of 13

Thread: manipulating arraylist?

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2006
    Posts
    61

    manipulating arraylist?

    Hi there,
    I have this arraylist that holds only one kind of objects (a stracture). My question is how can i change properties of those objects. So far i am taking an object like that
    VB Code:
    1. tempobj = myarraylist.item(i)
    and then change what is needed on tempobj and insert the tempobj back at that position. But that doesnt seem very convenient.
    Is there any way to change properties easier...smth like
    VB Code:
    1. myarraylist.item(i).propertyA = 5
    for example
    Maybe the arraylist is not the optimal tool to use here?
    thanks in advance
    Last edited by sarris; Feb 16th, 2007 at 08:54 AM. Reason: misspelling on title

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