Is it possible to use a variable to use a form's name? For example, let's say I have a form called "Form1" and a variable called strForm. Can I use something like the following to control things on the form?:
strForm = Me.Name
strForm.Caption = "This would set the new caption of Form1"
Is something like that possible? Just doing a quick test in VB6 I'm seeing "strForm.Caption" isn't possible to be used, but there might be another way to control items using a variable in place of the form?
strForm = Me.Name
strForm.Caption = "This would set the new caption of Form1"
Is something like that possible? Just doing a quick test in VB6 I'm seeing "strForm.Caption" isn't possible to be used, but there might be another way to control items using a variable in place of the form?