Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Animated images in vfp
Message
From
20/08/1999 16:11:48
 
 
To
20/08/1999 15:48:30
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00255795
Message ID:
00256052
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform