Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter name and scope
Message
 
À
19/03/2009 17:04:12
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01389789
Message ID:
01389791
Vues:
78
James,

It should work, but not to a form method but to a form property (or it was just a typo?)

>Hi All
>
>I have a form that I wanted to use an object in the controlsource for some of the controls. First I tried scatter name to a form methond called this.otable but this.otable.fieldname did not work as a control source. I thought that I would just use an object variable instead but private variables go out of scope after they are setup. I know I could use public variables but I would rather not. I could use a cursor but the object seemed cleaner to use. Any ideas?
>
>Thanks.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform