A 2K SR1a
I have created a form to act as a custom message box (as I needed to customise the text on the buttons), but cannot find a way to pass the message box triggering form to the message box and store it so that it can be passed onto subsequent routines (many forms trigger an event that requires exactly the same message box). I can pass the name of the form that opens the message box in openargs, store it in an invisible control in the messagebox form and pass it to subsequent procs, but in these procs I want to use is as a form, not just the name, and (maybe here’s where I’m being stupid) can’t find anyway to create a valid object reference from the name. I could use a global variable, but my wrist’s still sore from the last slapping for such sloppiness.
What’s the best way to do this?
Thanks