Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating objects
Message
 
 
À
15/09/2010 12:01:15
Valter Molina
Molina & Nardi Ltda
Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01481283
Message ID:
01481285
Vues:
79
>When I use scatter name test, vfp creates and object which properties are the fields of the table opened in the current work area.
>How do I create an object like this from scratch? And how do I add properties in this new object?

You would utilize Empty object and ADDPROPEERTY() function
loObject = CREATEOBJECT("Empty")
ADDPROPEERTY(loObject, "cPropertyString", "Property value")
...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform