Jul 18, 2003 #1 poltergeist Programmer Joined Jul 16, 2003 Messages 173 Location CL How to open en form more than once a time without create two forms. I'll have the possibility to edit two factoring forms in the same time.
How to open en form more than once a time without create two forms. I'll have the possibility to edit two factoring forms in the same time.
Jul 18, 2003 1 #2 ICISYD Programmer Joined Dec 18, 2002 Messages 36 Location GB One way to do it is to create an array of form objects. dim MultForms() as new MultForm dim NumForms as integer sub CreateNewForm() redim preserve MultForms(NumForms) MultForms(NumForms).show NumForms = NumForms + 1 end sub Upvote 0 Downvote
One way to do it is to create an array of form objects. dim MultForms() as new MultForm dim NumForms as integer sub CreateNewForm() redim preserve MultForms(NumForms) MultForms(NumForms).show NumForms = NumForms + 1 end sub
Jul 18, 2003 #3 tb Programmer Joined May 27, 2003 Messages 328 Dim x As Form Dim y As Form Set x = New Form2 x.Show Set y = New Form2 y.Show Have fun ! The pen is mightier than the sword - and quite frankly . . easier to write with Upvote 0 Downvote
Dim x As Form Dim y As Form Set x = New Form2 x.Show Set y = New Form2 y.Show Have fun ! The pen is mightier than the sword - and quite frankly . . easier to write with