When I step thruought the code, the vb stepper lands right on instruction "frmForm.Add(f)" below. When I press F8 again instead of it being executed and flowing down to the next instruction, it just exists out of the procedure. I tried placing On error goto 0 before it and it did not help. When I try to reference frmForm(TabNumber) later in the program, it comes up empty. Any suggestions?
Dims: Public frmForm As List(Of PDF_ML_Form)
Dim f As New PDF_ML_Form
f.TabID = TabPages.Count