Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visibility of variables inside a form
Message
 
To
13/05/2008 17:02:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01316626
Message ID:
01316820
Views:
14
>Thanks Hugo!
>As I'm not a native English speaker
>sometimes it's difficult to explain
>clearly.
>Elucidate me please: What are the
>differences between a 'method' and an 'event'?
>Thanks!
>
>>>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.

Simpliest explanationon top of my head:
Events happens.
Methods you call.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform