Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type( 'myForm.Controls' ) returns 'U'
Message
De
22/04/2005 15:10:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Type( 'myForm.Controls' ) returns 'U'
Divers
Thread ID:
01007630
Message ID:
01007630
Vues:
61
Was looking at some code today and the developer was checking for the presense of the Controls collection by using the type() function. When debugging his code, I discovered that both the Controls and the Objects collections will return "U" when one tries to reference them via the type() function.

The solution (and probably a better way to begin with) is to use pemstatus() instead.

But, I'm wondering why both type( "myForm.Controls" ) and type( "myForm.Objects" ) will be both return "U" even those these objects exist?

Thanks,
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform