I need to show three frames consecutively for 500 msecs on a form then move to a new form. I have tried calling a sub procedure to do this but it doesn't work. Can anyone help please?
tricia 0 Newbie Poster
Recommended Answers
Jump to PostI'm not really sure what you mean by showing frames, or what kind of purpose this would serve.... it sounds to me like there will be 3 fames on 1 form. It will start off with showing frame1, 500ms later will show frame2 and hide frame1, then 500ms later, hide …
Jump to PostIt works for me ;)
All you should have to do, is modify your sub to contain a doevents, here is the modification:
Sub WaitForMSecs(MSecsVar) Dim Starttime As Single Starttime = Timer Do Until Timer >= Starttime + (MSecsVar / 1000) Doevents ' <<--- Added This …
All 8 Replies
Auron 0 Unverified User
Comatose 290 Taboo Programmer Team Colleague
tricia 0 Newbie Poster
Comatose 290 Taboo Programmer Team Colleague
tricia 0 Newbie Poster
Comatose 290 Taboo Programmer Team Colleague
Auron 0 Unverified User
Comatose 290 Taboo Programmer Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.