Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting up appication objects
Message
 
To
09/02/2003 19:22:25
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00751147
Message ID:
00751391
Views:
19
Hi Gerry.

Thsnks for your reply.

Does it matter where I use this code in My App or where I call it from.

i.e. Does it have to be set up in the top most prg program ?

Regards,

Gerard


>>I am in the procees of changing some Global variables into application objects and would welcome any ideas on the best way of doing this.
>>
>>I was proceeeding alomg the following lines:
>>
>
>You want your application object to be "portable"; I think sometimes like this would be better.
>
>
>oMyobj = NEWOBJECT( "My_App", "MYCLASS.PRG" )
>
>*  Put My_App in a separate PRG: eg. MYCLASS.PRG
>DEFINE CLASS My_App AS Custom
>   MyVar1 = MyVal1
>   MyVar2 = MyVal2
>
>   DIMENSION MyVar3[10]
>   MyVar3[1] = MyVal3
>ENDDEFINE
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform