Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh Problems
Message
 
À
31/10/2001 09:43:21
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00575626
Message ID:
00575728
Vues:
33
Hey Steven,

I had a problem similar to yours last week and it made no sense. It took me a few hours, but here's how I fixed it.

I moved some blocks of code around within the same method where I had my THISFORM.Refresh command. I think I left THISFORM.Refresh where it was, but the really weird thing was that the blocks of code that I moved didn't seem to have anything to do with the screen refreshing or the form repainting, but it fixed the problem.

In my case, when I returned to the main form, about half of the objects were missing including many controls and command buttons so I couldn't do anything. I started clicking in the area where my Exit button used to be and sure enough I could eventually click on it, even though it was invisible. LOCKSCREEN = .T. at the top of the method and LOCKSCREEN = .F. at the bottom of the method seemed to help get me going in the right direction.

You might check back a week or two and find my questions and answers about this problem. I don't remember the exact title of the message, but it probably had the words "missing" in it.

I know Nadya Nosovsky helped out with the LOCKSCREEN idea, but I solved the problem on my own with that moving of blocks of code, but I kept those blocks of code inside the same method so I didn't move them very far.

This is what I love about VFP?!?!

Good luck!
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform