Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do we check for the existence of an object?
Message
De
15/07/1999 05:45:14
 
 
À
13/07/1999 15:54:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00240965
Message ID:
00241685
Vues:
20
>
if type('myform.mygrid')='O' and not isnull(myform.mygrid)
>   *Object Exists
>endif
had trouble with this until I spotted your 'myform' inclusion. The secret is to include the full object reference (in my case "Cashbook.pageframe1.page3.grid1") rather than just "grid1". Then it works fine

Thanks

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

Click here to load this message in the networking platform