Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Smoothly moving an object
Message
De
27/12/2017 06:16:39
 
 
À
24/12/2017 15:57:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 10
Database:
Visual FoxPro
Divers
Thread ID:
01656712
Message ID:
01656749
Vues:
77
>Hi all,
>
>I want an object (now a label) to smoothly move to another location on the form. Based on the y,x coordinates of the label and of the position that the mouse is down, the object moves in 30 steps. However, only some of those steps are actually displayed. I get the impression that the refresh-rate of VFP is simply too low for such a type of smooth moving.
>
>Any deas?

Would adding DOEVENTS inside your loop help?

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform