Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom classes instead of global variables
Message
 
 
À
17/01/2000 13:32:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00319087
Message ID:
00319102
Vues:
15
>Try:
>
>PROCEDURE main
>
>PUBLIC goSettings
>
>goSettings = CREATEOBJECT('settings')
>
>ENDPROC
>
>DEFINE CLASS settings AS CUSTOM
>....
>ENDDEFINE

>
>Here is something that might be helpful to add to your class. This adds the property if it doesn't exist and you try and set it:
>
>
***goSettings.This_Access()
>lparam tcMember
>if !pemstatus(this, tcMember, 5)
>	this.AddProperty(tcMember)
>endif
>return this
Thanks,

Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform