-
January 15th, 2005, 04:02 PM
#1
Global Variables?
I would like to create a global variables from the type of:
public: static System::Collections::ArrayList* ArInvoices = new ArrayList();
to access from all of my class and Forms.
-
January 15th, 2005, 04:03 PM
#2
Re: Global Variables?
I don't want to declear it in each class / form
-
January 17th, 2005, 06:26 AM
#3
Re: Global Variables?
Do what I do create a singleton class called let say CGlobals and stick all your globals in that. Then just include the globals class header file in each form u want access to that global.
"Lose it? It means go crazy...nuts...insane...bonzo...no longer in possession of one's faculties...3 fries short of a happy meal...WACKO!!!"
-
January 17th, 2005, 07:10 AM
#4
Re: Global Variables?
how about some code please?
-
January 17th, 2005, 07:15 AM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|