D
Dean Slindee
I have loaded two forms into an ArrayList with the following statement:
arrForm.Add(Me) 'in each form's Load method.
Now I want to reference a form in the ArrayList. However, I must not be
using the .Contains Method properly, because the If clause is never true.
Dim frm As frmMain
If arrForm.Contains(frm) Then
Call FormDataFieldsClear(Me)
End If
Thanks,
Dean Slindee
arrForm.Add(Me) 'in each form's Load method.
Now I want to reference a form in the ArrayList. However, I must not be
using the .Contains Method properly, because the If clause is never true.
Dim frm As frmMain
If arrForm.Contains(frm) Then
Call FormDataFieldsClear(Me)
End If
Thanks,
Dean Slindee