Flixxan
04-14-2003, 08:59 AM
Forms in VB6
I have a set of design-time-defined forms and during runtime I need to call each of these forms and insert them into an array of forms.
For example:
I have a design-time-defined form called frmMyForm.
During its Load event I need to rename the form from
frmMyForm to Form(Index) where Index is the form's index in a form array.
Does anybody know how to do this?
I believe there is a syntax that looks something like this:
frmMyForm Is Now Form(Index)
but this doesn't work.
I have a set of design-time-defined forms and during runtime I need to call each of these forms and insert them into an array of forms.
For example:
I have a design-time-defined form called frmMyForm.
During its Load event I need to rename the form from
frmMyForm to Form(Index) where Index is the form's index in a form array.
Does anybody know how to do this?
I believe there is a syntax that looks something like this:
frmMyForm Is Now Form(Index)
but this doesn't work.