Hi, The problem im having is, Im creating a user control. The user (via the Property Page's) will set his own menu titles, and the choose a form of which that title links to. If that makes sense.
So the form names are stored in string data, how can i convert it from a string to an object or to a form so that when someone clicks on the title the form will show. Is there a way to loop though form names?
But i dont want to have to add and if-then-else statement or select-case statement for every form i have.
Example:
Any help again would be appreciated
Kind Regards
Devon
So the form names are stored in string data, how can i convert it from a string to an object or to a form so that when someone clicks on the title the form will show. Is there a way to loop though form names?
But i dont want to have to add and if-then-else statement or select-case statement for every form i have.
Example:
Code:
if txtFormName.Text = "frmMain" then frmMain.show end if
Kind Regards
Devon
Comment