Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defining a global property for an application
Message
 
 
To
10/04/2000 16:03:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00357663
Message ID:
00357669
Views:
13
>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.
>
You could create a public variable:
public goVar
goVar = createobject("mycustomobject")
Or you could add an object to an already existing global object like _Screen or _VFP:
_Screen.AddObject("goVar",MyCustomObject")
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform