vb6 (Arrays)

Discussion in 'Software' started by mastermosley, Aug 27, 2006.

  1. mastermosley

    mastermosley Sergeant

    Ok I have a bunch of diffrent images all in an array. For Example I have 30 each are called: imgSkillArray. And at the bottom I have an image box and I want this image to be the image that the user picked. This is what i tried,

    imgSkillArray(0).picture = imgSkillArray(imgSkillArray.item.index).picture but this doesn't seem to work. Anybody no how to do this?
     
  2. mastermosley

    mastermosley Sergeant

    Nevermind, Thanks Anyway, I figured it out I did this:

    imgImageArray(1).picture = imgImageArray.item(index).picture
     
  3. matt.chugg

    matt.chugg MajorGeek

    Are you using an imagelist now as I suggested in your other thread ?

    You can add images to an imagelist at design time.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds