Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Animated picture in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00182276
Message ID:
00183259
Vues:
19
Hi nick,

Other way to make an animation in VFP, that I use with no problems is make it with a Container base class

Create a new class bassed on container
Add an Image control for each pictures of your animation and name it ImageX with X=number of picture
Add a timer control and set it to the interval that you like
Add a property named nCurPic and set it to 1
In timer event, do:
With this.parent
.nCurPic = .nCurPic + 1
If .nCurPic > PICTURECount && Is the number of Images
.nCurPic = 1
EndIf
EndWith

This is not the best way and is hard! But works ok! And is pure VFP Code
Lic. Esteban Bruno
Gerente de Sistemas
TASSO S.R.L.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform