Global Variables

  • Thread starter Thread starter Guest
  • Start date Start date
if you make them a shared variable they will be accessable with out
instanciateing a class.. normally you must instanciate a class to access
variables in it.. best pratice now days is to use classes. if you dont want
to make it shared, then using a module will make a variable accessable
through out the application.
 
* "=?Utf-8?B?TWF0dA==?= said:
Is there a way to create global variables to be used across all forms?

Create a settings class and implement the singleton design pattern (see
Google search for more info on that).
 
Back
Top