If Main is the name of your frame, it needs to be enclosed within quotes. (and you should use a more unique name to avoid potential namespace conflict) Otherwise, the Main variable is not available in this scope.
If that doesn't help, you should include all of your code, including the Main frame.
__________________
Grab your sword and fight the Horde!
|