hola... que tal?
es posible asignar eventos de ésta forma ?
osea usando los nombres de los objetos con variables...
Public i As Long
For i = 0 To 10
Dim WithEvents "is" & CStr(i) & "_m3" As Image
is1_m3.Picture = LoadPicture(EXEPAth + "fotos\300\301 Alisol endostásgnico úmbrico.gif")
is1_m3
is2_m3
Next
is1_m3.Picture = LoadPicture(los datos salen de una matriz)
For i = 0 To 10
Set is1_m3 = Controls.Add("vb.image", "is1_m3", fondo3)
is1_m3.Visible = True
is1_m3.Height = 987
is1_m3.Left = 720
is1_m3.Width = 975
is1_m3.Appearance = 0
is1_m3.BorderStyle = 1
is1_m3.Stretch = True
is1_m3.MouseIcon = LoadPicture(EXEPAth + "Iconos\select.cur")
is1_m3.MousePointer = 99
Set lblDinamic = Controls.Add("VB.Label", "lblDinamic" & CStr(i))
With lblDinamic
.Visible = True
.Top = nlblDinamic * 390 + Label1.Top
.Left = Label1.Left
.Caption = .Name
.Height = 255
End With
next
Gracias...