Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reset Properties Values
Message
 
À
16/11/2010 14:47:40
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01489238
Message ID:
01489277
Vues:
50
>Since it's all in a prg, and it's your custom class, you can simply have a method which will set the properties to whatever you want. You can then call that from the .init() and whenever you want. Something like
>
>
>define class mycustom as custom
>prop1=""
>prop2=""
>...
>propX={}
>
>procedure initProps()
>with this
>	.prop1="something"
>	.prop2="whatever2"
>...
>	.propX=date()
>endwith
>
>procedure init()
>this.initProps()
>
>Then later in code just lo.InitProps()

Dragan, thank you.

This is another way that I too had experienced.
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform