Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope of Properties
Message
De
08/12/2001 11:27:19
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Scope of Properties
Divers
Thread ID:
00591662
Message ID:
00591662
Vues:
64
Forgive me if I sound confused. I was under the impression that if you add a property to a form, that property is available for the duration of the form. Example, I added a new property to a form, that will accept a parameter passed to it from another form. When I query the value of the property ( variable ? ), I see in the debugger that it is considered a local type. Am I just as far ahead to declare a public variable in the load event to accomplish the same thing, because the add property approach doesn't seem to do what I want. Of course I could be setting it up incorrectly.

I guess I misunderstood the use of properties, I was able to accomplish my objective by using a plain old public variable declaration. Properties I guess are restricted to classes and controls.

Thanks To All
Carmen
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform