Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get The Description of Property
Message
 
À
01/04/2009 11:50:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01392598
Message ID:
01392602
Vues:
101
This message has been marked as the solution to the initial question of the thread.
>Hi All
>
>I am trying to solve this.
>
>Public oEmp && Testing Purpose
>oEmp = CreateObject("Empty")
>AddProperty(oEmp,"Prop1","Anything1",1,"Description1")
>AddProperty(oEmp,"Prop2","Anything2",1,"Description2")
>
>? oEmp.Prop1 && Give Anything1
>? oEmp.Prop2 && Give Anything2
>
>
>Now I need a code to get "Description1" and "Description2"
>
>Is that possible?
>
>TIA


Do not use this. The last two parameters of the ADDPROPERTY() can be used only if you use Development environment.
In the runtime this command will cause error:
AddProperty(oEmp,"Prop1","Anything1",1,"Description1")

The last two parameters are for wizards and builders which can be used only in Development environment.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform