View Single Post
  #1 (permalink)  
Old 05-18-2008, 01:48 PM
lux1963 lux1963 is offline
Newbie
 
Join Date: May 2008
Posts: 2
Default retrieve images and index

hi,

I have 2 great problems,

1) i used AddEvent for create multiple call at same sub which is the method for retrieve the number of control that have generated the event?

i.e.

sub myevent
for x=1 to 33
if sender=control("image"&x) 'don't work!!!!
generator=x
endif
next
end sub


2) if I put many images in several Image controls using Imagelist control

for example:

Control("Image" & A).image = Imagelist1.item(4)

if I want retrieve the image contents in this Image control i try to use:

if Image1.image = Imagelist1.item(4) then
....
....
endif

but don't work!!!


thanks for help and excuse me for the incorrect english
Reply With Quote