Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Animated images in vfp
Message
De
20/08/1999 16:11:48
 
 
À
20/08/1999 15:48:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00255795
Message ID:
00256052
Vues:
27
>Hi Erik,
>
>>you can use the WebBrowser ActiveX control for this fairly easily.
>
>By this do you mean instanciate an IE? This is killer on resources to make a magnifing glass move around. Nov.97 FoxTalk has an article "FP supports animated imsages!" by Paul Russell, I think he suggests a timer class too.

The IE interface is available both as an ActiveX control, and through OLE automation. Starting an IE instance is a real hog on resources, but the ActiveX control is pretty tight. I can't tell a noticeable difference between calling an empty form, and one with the IE control on it.

As for the timer idea, this is great if you've got the time to create n separate image files, and feel like taking the time to write the code to orchestrate them. But animated gif files are available abundantly, and you can show them in a form with a single line of code using the WebBrowser:

THISFORM.oIE.Navigate("c:\myImage.gif")

BTW, timers can be pretty resource sucking too.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform