ralphtrent
Programmer
Hello
I have an MDI Form. I have a list of available forms under a window title bar. When the user clicks on the form they want to open, i call the OnClick event for that menu option. I want to be able to then call a routine that will check to see if the form is currently open, if it is then bring it to front, else open it. I pass the name of the form to the routine as a string. If I need to create a reference to the form, how would I do that if all I know is the same of the form? I have searched and searched but nothing came up that meets my needs.
So in short, if I know the name for a form, how can I create a form object to reference that form.
Thanks,
RalphTrent
I have an MDI Form. I have a list of available forms under a window title bar. When the user clicks on the form they want to open, i call the OnClick event for that menu option. I want to be able to then call a routine that will check to see if the form is currently open, if it is then bring it to front, else open it. I pass the name of the form to the routine as a string. If I need to create a reference to the form, how would I do that if all I know is the same of the form? I have searched and searched but nothing came up that meets my needs.
So in short, if I know the name for a form, how can I create a form object to reference that form.
Thanks,
RalphTrent