Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initiating a grid in a form only when needed
Message
De
01/08/2001 19:34:25
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00538434
Message ID:
00538635
Vues:
7
>>Nadya-
>>
>>>if type('this.grdBldMstr')<>'O'
>>
>>You realize this is unsafe since it will be true if the grid has been set to .NULL.
>
>Right, but who would set it to .NULL. ? :)

Sheesh, and Sergey thought _I_ was too devil-may-care with !EOF() in a relation because SET NEAR *might* be ON.

Honestly, I didn't make it up. The safe route is to check an object's property, such as name. (which doesn't work for all objects)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform