Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for method existing
Message
De
01/10/2003 17:37:10
 
 
À
01/10/2003 17:10:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00833962
Message ID:
00833993
Vues:
16
So you're trying something like this:
PemStatus(oform.myObject,"myMethod",5))
First, you have to verify that myObject exists, which you can do with vartype
e.g.
If Vartype(oform.myObject)="O" ;
      and PEMStatus(oform.myObject,"myMethod",5)
   ** it exists
  EndIf
EndIf
>Thanks, but it does not work if the method does not exist.
>
>I have "Property myObject is not found"
>
>Tia.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform