I have a menu system that drills down by showing a "lower" menu form and hiding the "upper" menu form when the lower menu form opens.
I usually execute a Form.show in the lower menu form's unload method to make the upper menu form reappear when the lower menu form is closed.
Here's my problem...
I have a lower menu form that can be opened by several different upper menu forms, and I need to know which upper menu form to show when the lower menu form unloads.
How can I know which form opened the currently open form? Is there a property that stores this info? Or, can I pass a parameter or fill a global variable with the opening forms identity? If I were to pass a text value with the form name, how would I convert that to a Form.show call?
Thanks for your help!
John
I usually execute a Form.show in the lower menu form's unload method to make the upper menu form reappear when the lower menu form is closed.
Here's my problem...
I have a lower menu form that can be opened by several different upper menu forms, and I need to know which upper menu form to show when the lower menu form unloads.
How can I know which form opened the currently open form? Is there a property that stores this info? Or, can I pass a parameter or fill a global variable with the opening forms identity? If I were to pass a text value with the form name, how would I convert that to a Form.show call?
Thanks for your help!
John