Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visibility of variables inside a form
Message
 
To
13/05/2008 09:05:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01316626
Message ID:
01316680
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform