Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thoughts on a Screen calling a screen calling a screen
Message
 
To
01/05/2002 13:39:19
Irv Adams
MSC Managed Care, Inc.
Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00651233
Message ID:
00651632
Views:
18
Irv,thanks for your reply.

Would this option cause problems if I had Two Private data sessions of the same screen up at the same time, perhaps each one changing variables independently..

I suspect these global variables would not be independent on each screen ?

regards,

Gerard




>Hi Gerald:
>
>I have had success by creating a Global Custom object and Instantiating this in a Main.prg which then launches the first form, something like the following:
>
>MAIN.PRG
>
>
>PUBLIC oGlobal
>Set Classlib to <YourClassLib> ADDITIVE
>oGlobal = CreateObject("GlobalApp")
>
>DO FORM <FormA>
>READ EVENTS
>
>oGloBal=NULL
>Release oGlobal
>
>
>Now, every Property, Method, etc. within or added to oGlobal can be seen and used by all screens(forms).
>
>HTH,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform