View Single Post
  #10 (permalink)  
Old 09-10-2008, 02:20 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,067
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Various ways. If they are labelled sequentially then something like this.
Code:
Sub App_Start
  Form1.Show
  
For i = 1 To 30
    AddEvent(
"ImageButton" & i, click, "Down")
  
Next        
End Sub

Sub Down
  
Msgbox(Sender)
End Sub
Reply With Quote