|
-
September 13th, 2001, 07:28 PM
#1
NH w/ Img arrays and 2 timers
Working on a project for class dealing with 4 image arrays (imgFace) and 2 timers(tmrFace1/tmrFace2). The scenerio reads like this; you have 4 images that are hidden and must use timer 1 to bring each one up after 500 milliseconds have lasped, then turn off timer one and turn on timer 2 in which timer 2 hides each image one at a time after 50mls, but it keeps going until the user clicks the exit button. Well so far I have been able to get imgFace(0,2,3) to come up with 3 blinking. Go figure. I'm stumped and need help. Here is the code I have so far.
(Gen. Dec.)option explicit & Dim intNum as Integer
tmrFace1
imgFace(intNum).Visible = True
intNum = intNum + 1
If intNum >=3 Then
intNum =3
end if
tmrFace1.enable=false
tmrFace2.enable=true
tmrFace2
imgFace(intNum).Visible =False
intNum = intNum +1
If intNum >=3 Then
intNum =3
end if
tmrFace2.enable=false
tmrFace1.enable=true
Now any help would be wonderful....
And THANK YOU in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|