Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Return A Value After Unloading Form Object ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01200370
Message ID:
01200422
Vues:
28
>>>loParameterObject = createobject("empty")
>>>loParameterObject.AddProperty('MyCustomProperty') && or you can do it in the form instead
>>
>>Naomi, i thought an empty baseclass is empty, no properties and methods?
>
>Yes, but you can add properties to it using AddProperty method. Otherwise what good would it be for? <g>
>
>UPDATE. Sorry for the wrong reply, it should have been AddProperty function.

I use an object that I don't have to create to store this type data. It's called _Screen

_screen.addproperty('myproperty',myvalue)

To access it, I don't have to surf any tree, I simply go right to _screen.yadayadayada
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform