Thread: Click function
View Single Post
  #13 (permalink)  
Old 11-03-2007, 06:51 PM
neilnapier neilnapier is offline
Senior Member
 
Join Date: Oct 2007
Posts: 147
Default

OK... i'm doing better, but I have another glitch... when I press run it comes up

Object Reference not set to an instance of an object... with this code

Code:
Sub App_Start
 BurningSand.Show
 
For i = 1 to 75
  AddEvent(
"Image" & i, Click, "ImageClick")
 
Next
End Sub

Sub ImageClick
 
Sender.Color = cGray
End Sub
I don't want to send the file because it has images and I don't know if it saves it in the file itself.


EDIT: Nevermind sorted it!


How do you restart an app (eg having a restart button)

Last edited by neilnapier : 11-03-2007 at 07:32 PM.
Reply With Quote