General information
Category:
Coding, syntax & commands
Sammy:
Make certain the variable oGlobal is declared as PUBLIC; it should be the only PUBLIC variable you need in the entire App...
Make sure that the first FORM you call is called after the Global App is created, and any other Forms are called from it;
Make certain there is a READ EVENTS issued so that the program doesn't continue and Release the oGlobal variable (which will make the Object go out of scope - that looks like that is what happened...)
HTH,
-Irv.
******
>Thanks Irv,
>Now i have only one problem.
>When i try to retrive the value with oGlobal.propertyname on any form (i.e outside the method where the class was created/instantiated) i get the message 'alias not found'. How do i make the object accessible to other forms/methods? In the same method however it works alright.
>TIA
Previous
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