Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh order for shapes
Message
De
15/08/2005 15:57:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01041107
Message ID:
01041122
Vues:
24
I have a form with a pageframe. One one of the pages are about 200 verticle lines which are used to represent a bar graph. The height of the line is adjusted based on code in the line's refresh event. SInce it takes a moment to perform these calcs, I wanted to turn off the screen at the beginning of the refresh for the first line and turn it back on after the last line has been refreshed. To simplify things I wanted to adjust the order at which the lines are refreshed (height adjusted).

Fabio has given me a solution without answering my question which is fine. Thanks Fabio.

However, there is still a sequential refresh the first time I select the page that has the graph on it. That is, I get to watch the lines adjust themselves one at a time. Why this is happening I don't know.


>>Does anyone know if it's possible to control the order in which shapes on a form are refreshed?
>>
>>My problem here is that I want to set lockscreen = .t. before the first shape is adjusted and set it to false after the last shape is adjusted. Each shape has its own refresh code independant of the others.
>>
>>Thanks in advance for any help.
>>
>>- Don
>
>What exactly are you doing? Where do you want to set lockscreen? In which method?
>
>I think (not sure), that the objects are refreshed based on the order they were added to the form either in design-time or run-time.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform