Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Emoticons in Chat
#3
The part your missing Poyzin is the array of images the .count method is expecting to find.

ref:
Quote:4. On frmIcon, make an INDEXED image (as many as you want for emoticons), named imgIcon.
Basically copy and paste imgIcon onto frmIcon as many times as you have emoticons, the first time you c+p the image box the IDE will ask you if you want to make a control array, click yes.
Each new imgIcon is now refered to by its position in the array eg; imgIcon(4).

Code:
For i = 0 To frmMirage.imgIcon.Count - 1 'Loop through each icon
The frmMirage.imgIcon.Count defines the upper value of the For loop as - the number of imgIcon images in the array minus 1.

Hope this helps.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)