Our designers want our mainly DOS based cutomers to have the ability to use the mouse, the appropriate keys on the keyboard as well as a "Reports" menu pad to access a Right-Click popup menu. In order to be able to use the "Reports" menu, I had to pass in an object as parameter, storing it as a Public variable in the menu setup and setting the variable to .NULL. in the cleanup section before releasing the variable.
I don't know if this is the best solution, but it was the only 1 I could find. I agree with the others about Public variables. The really take one back to GW BASIC and it's ability to write "spaghetti" code.
Mike
Mike