Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.Visible goes .T. unexpectedly during start up
Message
De
03/11/2010 19:45:23
 
 
À
03/11/2010 17:28:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01488084
Message ID:
01488115
Vues:
50
>>Found some strange behavior during start up of a form.
>>
>>Thisform.Visible becomes .T. unexpectedly. The form is not visible at all and the form load hasn't started executing yet. VFP seems to be preparing objects defined in the class upon which the form is based. It executes UIEnable code for several of them. After the last UIEanble code it seems to execute something without showing a trace. When it next traces it is about to run the resize method for a grid and by this time Thisform.Visible is true.
>>
>>As workaround I set Thisform.VIsible = .F. at the start of form load, but I'm curious about what is going on.
>>
>>TIA,
>>
>>Alex
>
>Try do set a breakpoint on when thisform.visible changes.

I tried and it stops, but only after it finished doing whatever it was doing without showing a trace. If those commands can be traced the source of the problem can be found. Do you have any ideas?

Thanks,

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform