Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Animated progress bar gif
Message
De
23/07/2005 18:07:44
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
01034684
Message ID:
01035420
Vues:
14
Hi Craig,

Thanks for the explanation and link. I'll be looking into it.

Mike

>Hi Mike,
>
>The problem is in how often the messages that cause the repainting of the GIF are retrieved from the queue. You may be able to make it a little better using DOEVENTS FORCE, but don't hold your breath. Any time a really intense line of code comes along the GIF is going to stop moving. It's one of the reasons I wrote a FAQ on how to get your progress indication into another process so it is virtually unaffected by VFP's heavy duty processing of certain lines of code. Anyways, here's the link...
>
>Progress Bar Class Example FAQ #27458
>
>
>>Hi Craig,
>>
>>Cool "Something is happening" GIF. I'm trying to use it as follows:
>>
>>On a form I drop the gif image and set it's visibility to .F. In a custom method of the form, I have a loop. Before entering the loop, I set the gif visible then do my lengthy process. The problem I'm encountering is that the gif does not animate. I've got other labels on the form that update their captions with calls from within the loop.
>>
>>Any clues as to why the gif would not "refresh". I tried a doevents in the loop but it didn't help. BTW, it animates fine at design time, just not at runtime.
>>
>>Regards,
>>
>>Mike
>>
>>
>>
>>>Here's one I made awhile back... (feel free to use it if it's what you are looking for)
>>>
>>>http://www.sweetpotatosoftware.com/images/progress.gif
>>>
>>>>>Hi All.
>>>>>
>>>>>Does anyone have a cool animated progress bar gif which cycles endlessly and would fit horizontally within a toolbar? Or another animated gif perhaps which serves the same purpose.
>>>>>
>>>>>Thanks
>>>>
>>>>Did you play with CommonControls library from Download section here?
>>>>Not sure, it's exactly what you're looking for, though.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform