UserGlobals Object

UserGlobals is a special picture that contains user-defined variables, color threshold tables and procedures that are globally available to all pictures. UserGlobals is not visible in the WorkSpace display area, but is listed as an entry in the system tree. UserGlobals also appears in the Visual Basic Environment (VBE). System tree right-mouse button menu support is provided to create Variable objects and color threshold tables, to show the UserGlobals property page and to display VBE. UserGlobals procedures can be added in VBE.

UserGlobals variables and color threshold tables can be used in connections with other pictures.

As each new picture is created, a reference is automatically added from it to the UserGlobals object, allowing its procedures to be accessed. References can be added or deleted manually from within VBE using the Tools|References… menu command.

UserGlobals procedures and declarations should be placed in standard code modules so that they are accessible to procedures in other pictures without using the User.<procedure> scoping syntax. Standard modules can be created from within VBE using the Insert|Module menu command.

If the UserGlobals file is not present in the base picture directory, a new empty one is created when the WorkSpace is launched.

 

Methods

Properties

Events