Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
"As New" method - subroutine access
I have a program that I've created a template form and am dimensioning an array of these forms like so...
Dim X(200) as New fTemplateForm
so X(0) through x(200) are now all clones of this form. I would like to write some public subroutines in the template form that will be executable and accessable from outside the form object of each of these clones.
So if that sentence was complicated - Here is what does not work:
call X(1).MySubroutine(arg1, arg2)
I appreciate the help - thx