
public function not recognized by another form....
It is avaialble. However, you have to call it as a method of the form in which
it is declared. For example, if you have a function called TestFunction()
declared as Public in Form1, you can access it from any other form or module as
follows:.
y = Form1.TestFunction(x)
John...........
Quote:
> --It was my understand that if I declare a function with as Public in one
> form's code then it is available for use in a different form. But when I
> call that Public function from another form I get an error stating that the
> function is not defined. As a temporary workaround, I have had to copy the
> function into each form that will call it but this is obviously redundant
> and should be avoidable if I could get the damn Public statement to
> work....help!
> Thanks,
> MA