Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer not firing???
Message
 
 
To
13/11/2002 23:45:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00722503
Message ID:
00722517
Views:
20
Bob,

What code do you have running at the time that's doing the authorizaton? Is it a single monolithic VFP command like REPLACE ALL, INDEX ON... or a SELECT? If so you are going to have to add a time wasting udf into the statement.

If you have a tight VFP loop running you should issue a DOEVENTS periodically in the loop.

>I have a simple form with a progress bar on it...and a timer that fires every second (interval=1000). The idea is to move the progress bar based on time.
>
>Anyway when I run it by itself in test mode it works fine...when I include it in the program the timer does not seem to fire.
>
>Any ideas?
>
>Also, it has a animation control on the form (floating paper). Again, it works fine when you run it from the form designer but when I call it from inside the program the timer doesn't fire.
>
>Here's the code in the program.
>
>m.oMessage = .null.
>DO FORM ("please wait authorizing") NAME m.oMessage NOSHOW
>m.oMessage.show()
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform