Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methods
Message
De
11/01/2001 09:45:54
 
 
À
11/01/2001 09:18:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00462166
Message ID:
00462179
Vues:
14
>Is it possible programmaticaly to know if a method exists in an object, like i can test if a variable exists with type() or vartype()
>
>
>Thanks

Use PEMSTATUS() for this, e.g.
ox = CreateObject("form")
If PEMStatus(ox, "Release", 5)
  ? "It has a Release method"
EndIf
See the help for more.
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