General information
Category:
Forms & Form designer
PUBLIC variables are not shared (they are not SO public) accross multiple VFP instances.
Vlad
>You can still use a private oObj
in the main prg that launches the initial creator object. This will give it app only scope, and would potentially allow you to have two or more simultaneous apps running independent of each other.
>
>>As to object references, I'll bite: If I am doing oObj=NEWOBJECT("something","something") and I am doing this in some method somewhere but want oObj referenced everywhere, what's wrong with PUBLIC oObj? Or do I have my head up my butt? (a common occurence lately).
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only