Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
With ... endwith and objects
Message
De
23/02/2006 10:28:28
 
 
À
23/02/2006 09:12:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01098462
Message ID:
01098508
Vues:
9
>I want to use WITH .... ENDWITH with different objects that will be defined at the rum-time. How can I do that?

Try something like this:
LOCAL loMyObject AS MyObject OF MyClass.vcx
loMyObject = thisform.AddObject("MyObject","MyClass")
WITH loMyObject
  ...
ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform