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
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