Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visibility of variables inside a form
Message
 
À
13/05/2008 09:05:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01316626
Message ID:
01316680
Vues:
18
>Hi.
>How the visibility of variables is handled inside a form?
>If a create a variable in a form event it will be visible
>by the events of the objects inside the form?
>Thanks!

Hi Tony,

When you say events, you mean methods? You should avoid an event calling another event directly as much as possible, events should call methods, and bearing this in mind, then you might not even need nothing but local variables and parameters. If what you mean is events that were raised by or occur after other events, then your best choice, as others told you, is to use form properties.
"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