Link to home
Start Free TrialLog in
Avatar of rfb
rfb

asked on

want to show 3 pictures in frame each for certain time

want to be able to show each of 3 (0r more) pictures in a frame for variable time length then go back to beginning and start over. Need to have the routine stop if any key or mouse movement is detected. Please use timer in example and be specific as to what code is put in what area.
Avatar of percosolator
percosolator

Try using the picture clip control.  It will let you insert multiple images and iterate through them.  Moderately simple to use, too.

I've seen it used for animation sequences...
Avatar of rfb

ASKER

my question requests the use of the timer control.
In conjunction with the timer control.....

Like this sample code
--------------------------


Private Sub Timer1_Timer()
    Static i As Integer

    i = i + 1
    If i = 16 Then
        i = 0
    End If
    imgLens.Picture = PictureClip1.GraphicCell(i)
End Sub
Avatar of rfb

ASKER

my question requests the use of the timer control.
ASKER CERTIFIED SOLUTION
Avatar of percosolator
percosolator

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial