Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defining a global property for an application
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00357663
Message ID:
00357878
Views:
16
>>>VFP 5.
>>>
>>>I have forgotten how to do the following.
>>>1. Define a property that is accessible anywhere in the application.
>>>2. Use it in forms or other programs.
>>>
>>>Any help appreciated.
>>
>>In your main prg declare a variable as PUBLIC
>>
>>It is always a good practice to track the PUBLIC variables very closely.
>
>Bret,
>
>There is no reason that a variable declared in the start up program of an application needs to be PUBLIC! A private variable is visible to everything in the application.

Your right Jim, I stand corrected.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform