Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form controls sometimes invisible
Message
 
À
10/07/2009 13:04:17
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01409187
Message ID:
01411469
Vues:
55
Hi Gary,

>1. The forms seem to be really releasing, i.e., _screen.forms increments and decrements as it’s supposed to. When a form is released the _screen.formcount goes down and the name disappears from the _screen.forms collection.

A safer way to find out if a form is releasing is to track Init and Destroy events. When an object remains in memory in almost all cases its Destroy event is not firing. Dangling references can be the result of FOR EACH loops on a collection without the FOXOBJECT clause,.

>2. The problem form has a pageframe with nested containers and controls, but even removing the entire pageframe makes no difference in the behavior

Could it be something in the dataenvironment? Maybe some form is locking a record and not releasing the lock which - for some unknown reason - confuses VFP. Other than that my only idea would be to remove one piece of the standard framework at a time until the form behaves properly.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform